In the last video of this series, we added MongoDB and connected our product routes via Mongoose. Let's now also ensure that only the right data makes it into the database and let's also improve our Http responses.
----------
Learn Node.js in our comprehensive 30h+ course: https://acad.link/nodejs
Source Code: https://github.com/academind/node-restful-api-tutorial/tree/06-validation-and-better-responses/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!
Continue this lesson in the app
Install CourseHive on Android or iOS to keep learning while you move.