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 2002 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
467 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...
If you are looking for a quick and fun introduction to GitHub, you've found it. This class will get...
Learn how to create a site or blog from your GitHub repositories with GitHub Pages.
Learn new skills by completing fun, realistic projects in your very own GitHub repository.