Let us create Mongoose schema which would allow us to define the shape, properties and content-type of our collection, so that we can then use the schema to create a data model with which our application can interact with in our collection.
It's actually simpler than it sounds, let's get straight into it.
Links:
mongoose doc : https://mongoosejs.com/docs/guides.html
mongoose npm: https://www.npmjs.com/package//mongoose
mongodb : https://account.mongodb.com/account/l...
HTML Tutorial for Beginners Playlist: • HTML, CSS & JavaScript Course for Beginners
Git and GitHub Playlist: • Git installation
#todoapp #nodejs #nodejstutorial #server #setup #donhub #thedonhub #mongoose #mongodb #schema #model