Web Dev Roadmap for Beginners (Free!): https://bit.ly/DaveGrayWebDevRoadmap

This tutorial gives an MVC model-view-controller example for a CRUD REST API with the Express framework. This video is part of a Node.js and Express tutorials for Beginners series. Building an API with Node.js & Express is part of the MERN stack.

Subscribe https://bit.ly/3nGHmNn

This lesson is part of an Node.js & Express for Beginners tutorial series playlist:
https://www.youtube.com/playlist?list=PL0Zuz27SZ-6PFkIxaJ6Xx_X46avTM1aYw

Starter Source Code: https://github.com/gitdagray/express_routers

Completed Source Code: https://github.com/gitdagray/express_mvc

MVC Model-View-Controller Example | CRUD REST API | Node.js & Express

(00:00) Intro
(00:05) Welcome
(00:14) Intro and Setup
(00:51) Model and View directories
(01:46) Creating an employees controller
(07:10) Project clean-up
(10:25) CRUD API Challenge Solutions
(17:22) Testing the CRUD API
(19:52) Source Code discussion

References:
Node.js Official site: https://nodejs.org
NPM Official site: https://www.npmjs.com/
Express JS Official site: https://expressjs.com/
MDN CORS: https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS
NPM CORS: https://www.npmjs.com/package/cors

Follow Me:
Twitter: https://twitter.com/yesdavidgray
LinkedIn: https://www.linkedin.com/in/davidagray/
Blog: https://yesdavidgray.com
Reddit: https://www.reddit.com/user/DaveOnEleven

Was this tutorial about how to apply the MVC (Model-View-Controller) design pattern with Express JS helpful? If so, please share. Let me know your thoughts in the comments.

#mvc #express #node