Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

Udemy

MongooseJS Essentials - Learn MongoDB for Node.js

via Udemy

Overview

Learn how to create Mongoose Schemas to build a full CRUD application based on the MongoDB database design.

What you'll learn:
  • Build CRUD Applications
  • Create Mongoose Schemas
  • Design Routes using Express.js
  • Create a Server using Express.js
  • Build a RESTful API
  • Use Postman

In this course we will build a simple application to show how to perform full CRUD (create, read, update, delete) operations within Node.js.

We'll be using the Node module MongooseJS. Mongoose allows us to define our models in the form of a schema, along with a simple to use API that abstracts away a lot of the pain of working directly with the MongoDB driver.

First, we will create a Book schema using MongooseJS. We will use string data types to add a title, author and description. Next, we will build a simple server using Express.js. Then we will build 4 routes to query, update and delete Books from our Schema. We will use Postman to perform actions on these routes and check the results in our browser.


What You Will Learn

  • Build CRUD Applications
  • Create Mongoose Schemas
  • Design Routes using Express.js
  • Create a Server using Express.js
  • Build a RESTful API

Taught by

Patrick Schroeder

Reviews

4.3 rating at Udemy based on 3129 ratings

Start your review of MongooseJS Essentials - Learn MongoDB for Node.js

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.