Creating a MERN Stack Application | Creating Schemas in Mongoose: A Beginner's Guide
In this video, we will show you how to create schemas in Mongoose, a popular MongoDB object modeling tool for Node.js.
We will cover the basics of Mongoose and how to define a schema, including the different types of fields that can be used. We will also show you how to create a model based on the schema and how to perform basic CRUD (create, read, update, and delete) operations on the data.
By the end of this video, you will have a solid understanding of how to create and work with schemas in Mongoose and be able to start building your own projects with Mongoose.
This video is perfect for those who are new to Mongoose and want to learn how to create schemas in Mongoose and use it to interact with MongoDB database
----------------------------------------------------------------
Timestamp
00:15 creating user schema
02:35 updating route
03:30 creating schema instance
04:20 adding middle ware to accept request body
05:00 testing route
------------------------------------------------------------------------
Keywords:
how to create schema in mongoose,
how to create schema in mongodb,
how to create model in mongoose
how to create model in mongodb
how to use schema in nodejs
how to use schema in mongoose
what is schema in mongoose
mongoose data type
how to create api in nodejs
how to create api in express
how to create api in express.ja
how to create rest api
how to create rest api in nodejs
how to create rest api using nodejs
how to rest api in express
rest api creating in nodejs
how to get request body in nodejs
how to get request body in express
------------
#mern #nodejs #mongodb