Web Dev Roadmap for Beginners (Free!): https://bit.ly/DaveGrayWebDevRoadmap
MERN API Controllers & Routers are a necessary part of the backend logic in a MERN Stack Project. In this tutorial, we'll apply routing for CRUD ops to various HTTP methods and MERN controller methods.
💖 Support me on Patreon ➜ / davegray
⭐ Become a full-stack web dev with Zero To Mastery Courses:
Advanced React & Redux: https://bit.ly/AdvReactDev
The Complete Node.js Developer: https://bit.ly/CompleteNodeJS
Jr to Senior Web Dev Roadmap: https://bit.ly/WebDevRoadmap-JrtoSr
🚩 Subscribe ➜ https://bit.ly/3nGHmNn
📬 Course Updates ➜ https://courses.davegray.codes/
🚀 Discord ➜ / discord
☕ Buy Me A Coffee ➜ https://www.buymeacoffee.com/davegray
👇 Follow Me On Social Media:
Github: https://github.com/gitdagray
Twitter: / yesdavidgray
LinkedIn: / davidagray
🔗 All Resources for this MERN Stack Project: https://github.com/gitdagray/mern_sta...
🔗 Playlist for this MERN Stack Project Series: https://bit.ly/3Sn4EaI
MERN API Controllers & Routers | MERN Stack Project
(00:00) Intro
(00:15) Welcome
(00:26) Starter Code
(01:05) Route user data requests
(03:42) Create the users controller
(09:34) Add controller methods to the user routes
(10:54) getAllUsers controller method
(13:05) createNewUser controller method
(19:25) updateUser controller method
(25:31) deleteUser controller method
(28:56) Install Postman
(29:29) Testing controller methods with Postman
(42:33) Student Challenge
📚 Suggested Pre-requisites for this MERN course:
🔗 Node.js for Beginners full course: • Node.js Full Course for Beginners | C...
🔗 React JS for Beginners full course: • React JS Full Course for Beginners | ...
🔗 Redux Toolkit for Beginners full course: • React Redux Full Course for Beginners...
🔗 React Login Playlist: • React Login, Registration, and Authen...
📚 Tutorial References:
🔗 MongooseJS: https://mongoosejs.com/
🔗 express-async-handler: https://www.npmjs.com/package/express...
🔗 bcrypt: https://www.npmjs.com/package/bcrypt
Was this MERN Stack API Controllers & Routers tutorial helpful? If so, please share. Let me know your thoughts in the comments.
#mern #stack #api
Watch video MERN API Controllers & Routers | MERN Stack Project online without registration, duration hours minute second in high quality. This video was added by user Dave Gray 09 August 2022, don't forget to share it with your friends and acquaintances, it has been viewed on our site 28,89 once and liked it 80 people.