Building a RESTful API with Node.js
Populating Queries with Mongoose | Creating a REST API with Node.js
Hide/Show description
Sometimes, you have related documents in your MongoDB. Learn how you can populate them with data of each other via Mongoose.
----------
Learn Node.js in our comprehensive 30h+ course: https://www.udemy.com/nodejs-the-complete-guide/?couponCode=AM_NDE_YT
populate() in the Mongoose Docs: http://mongoosejs.com/docs/populate.html
Source Code: https://github.com/academind/node-restful-api-tutorial/tree/08-populate-orders-with-products/api/routes
----------
• You can follow Max on Twitter (@maxedapps).
• You can also find us on Facebook.(https://www.facebook.com/academindchannel/)
• Or visit our Website (https://www.academind.com) and subscribe to our newsletter!
See you in the videos!
-
What is a RESTful API? | Creating a REST API with Node.js
Planning & First Steps | Creating a REST API with Node.js
Adding More Routes to the API | Creating a REST API with Node.js
Handling Errors & Improving the Project Setup | Creating a REST API with Node.js
Parsing the Body & Handling CORS | Creating a REST API with Node.js
MongoDB and Mongoose | Creating a REST API with Node.js
Mongoose Validation | Creating a REST API with Node.js
Managing Orders with Mongoose | Creating a REST API with Node.js
Populating Queries with Mongoose | Creating a REST API with Node.js
Uploading an Image | Creating a REST API with Node.js
Adding User Signup | Creating a REST API with Node.js
Adding User Login & JWT Signing | Creating a REST API with Node.js
JWT Route Protection | Creating a REST API with Node.js
Adding Controllers | Creating a REST API with Node.js