Node.js + Express | multi-layers + env and config files [Episode 2]

preview_player
Показать описание
0:00- Episode 1 recap
1:00- Today's episode outcome
1:45- Creating the .env and config files
4:50- Explaining the purpose of .env
5:39- Organizing our folders
6:43- Creating the Routes Folder
7:57- Creating the Controllers Folder
10:16- Using the Controller method in our Route
11:00- Adding the StudentRouter middleware
12:30- Testing on Postman
13:22- Creating the Services Folder
15:00- Using the Student Service in the Student Controller
16:08- Testing on Postman
16:15- Talking about setting the routes
16:40- Adding an extra argument to the StudentRouter middleware
18:17- Outro
Рекомендации по теме
Комментарии
Автор

instead of creating new instances of a class you can just create singletons I think

alasdairmacintyre