Learn how to create Mongoose Schemas to build a full CRUD application in Node.js based on the MongoDB database design.
How To Build a Blog with Nest.js, MongoDB, and Vue.js
☞ https://morioh.com/p/74ffc8a798bb
JavaScript Cheatsheet - Comprehensive PDF Included
☞ https://morioh.com/p/0de5894133a6
Design Patterns in Node.js: A Practical Guide
☞ https://morioh.com/p/4044a1d621b0
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
#MongoDB #Node #Morioh
Original video source:
------------------------------------------------------------------------------------
Social Network for Developers: http://bit.ly/2R1Lw31
Developer's Store: http://bit.ly/2L27JNR
Fanpage: http://bit.ly/2LyM4fJ
Смотрите видео Building a Simple CRUD App with Node, Mongoose, and MongoDB онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь TechCode 01 Октябрь 2021, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 13,746 раз и оно понравилось 173 людям.