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 2028 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
465 minutes
All public courses on Learning Lab are free.
Node.js gives you the ability to run JavaScript files on the server-side. Express is a library for...
Learn how to automatically test changes made to your project, freeing you up to write more amazing...
Add your own GitHub feature, automate workflows, and more with GitHub Apps.
Learn new skills by completing fun, realistic projects in your very own GitHub repository.