Refactor and Deployment CRUD API with Node.js, Express and MongoDB for Beginner - MVC in Node.js

Publicado em: 20 Junho 2023
no canal de: Devtamin
22,384
659

Are you looking for a video tutorial to improve your Node.js API source code and improve skill your Node.js skill? in this video, I'm going to show you how to refactor Node.js code to make it more organized and cleaner . You will learn how to implement dotenv, create a custom middleware to handle an error, implement a MVC architecture, solve cors problems and deployment the Node.js project into a live server from Render.com. I will show you everything step-by-step, so you will understand it easily.

This video continues from "Build Restful CRUD API with Node.js, Express and MongoDB in 45 minutes for Beginners from Scratch". Here is the link if you want to check it out    • Build Restful CRUD API with Node.js, Expre...  

★★★ Timeline ★★★
00:05 - Review the project and the previous video tutorial
01:10 - Create dotenv
04:50 - Refactor to the MVC pattern focusing on routes
11:27 - Refactor to the MVC pattern focusing on controllers
20:35 - Implement ErrorMiddleware
28:15 - Implement express-async-handler
33:26 - Implement Cors
37:26 - Configure Cors to support multiple domains
40:16 - Deploy Node.js to Github and Render
44:21- Create and Configure a webservice in Render
47:18- Update backend URL in a React frontend app


★★★ Source Code ★★★
Started Code - https://github.com/devtamin/Node-API
Finished Code - https://github.com/devtamin/Node-API-V2
Frontend Code (React.js) - https://github.com/devtamin/React-For...


Nesta página do site você pode assistir ao vídeo on-line Refactor and Deployment CRUD API with Node.js, Express and MongoDB for Beginner - MVC in Node.js duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário Devtamin 20 Junho 2023, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 22,384 vezes e gostou 659 espectadores. Boa visualização!