This tutorial expands on concepts in the intro to Node.js and Express.js course. You will learn how to use a database (MongoDB) to Create, Read, Update, and Delete data.
Start free course Join 681 others!
Overview of project
Install and setup your developer environment
Create a user model for MongoDB using mongoose.js
Learn how a mongoose model is used with express routes
Visualize and manipulate data on the commande line
Use the User.create method to post new users
Get data from a user using an id
Update data with a put request
Delete users with a delete request
Make your routes easy to maintain by refactoring repetitive code
246 minutes
All public courses on Learning Lab are free.
Create a GitHub Action and use it in a workflow.
Node.js gives you the ability to run JavaScript files on the server-side. Express is a library for...
Go from Hello World to writing a short random quote generator using Python.
Learn new skills by completing fun, realistic projects in your very own GitHub repository.