
UdemyRather than explaining Mongoose in the abstract, this course builds a single small application — a Book CRUD API — from a defined schema through to working create, read, update, and delete routes, so every concept lands in working code.
Node.js developers who are new to Mongoose and want a hands-on path into working with MongoDB, without wrestling directly with the raw MongoDB driver.
Because the whole course centers on one small, complete project, it's easy to follow start to finish and gives you a working template you can adapt for your own Node.js APIs afterward.
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
Advertisement
Price
This course is free to enrol.
Enrol free on Udemy →



More in Development



