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 868 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
262 minutes
All public courses on Learning Lab are free.
Learn how to write your own GitHub JavaScript Action! This course will empower you to begin...
Learn security best practices and keep your project’s contributions—and contributors—safe.
Node.js gives you the ability to run JavaScript files on the server-side. Express is a library for...
Learn new skills by completing fun, realistic projects in your very own GitHub repository.