Добавить
Уведомления

How I Layout an ExpressJS Application - Productivity Server Part 1

We begin our full-stack productivity web application by laying out the overall folder structure, configuration and setup. Structures for a full stack application can vary. Here's how I structure an NodeJS Express App which will use a database and server side rendering with EJS. Link to Playlist https://youtube.com/playlist?list=PLn8cgfOA2qzeGbcd-9pbm9oglsR9zj2ZN&si=egkjV1uo4M5NW8cb Full Source Code from This Video https://github.com/AlexanderFarrell/productivity_server_series/tree/01-setup Picture Photo Credit in Thumbnail: https://www.pexels.com/photo/plasma-ball-illustration-414860/ Download and Install NodeJS (Download the LTS version) https://nodejs.org/en ExpressJS Information https://expressjs.com/ Timestamps 00:00 - Introduction ? 00:12 - Overall Folder Structure ? 00:37 - package.json and dependencies ⚡ 02:45 - Server Folder Structure ? 03:19 - Modules Explanation ? 04:36 - Routes Explanation ? 05:50 - Client Folder Structure ? 06:35 - Data and Dev Folder Structure ⚙ 07:13 - Reusable Express App Setup ♻ 12:10 - Middleware Explanation ? 12:58 - Finish Reusable Express App Setup ✅ 14:41 - Create Our First Router ? 15:55 - Finish server.js ? 16:30 - Final steps to launch ? 17:20 - Test ? 17:38 - Conclusion and Thank You ?

12+
16 просмотров
2 года назад
12+
16 просмотров
2 года назад

We begin our full-stack productivity web application by laying out the overall folder structure, configuration and setup. Structures for a full stack application can vary. Here's how I structure an NodeJS Express App which will use a database and server side rendering with EJS. Link to Playlist https://youtube.com/playlist?list=PLn8cgfOA2qzeGbcd-9pbm9oglsR9zj2ZN&si=egkjV1uo4M5NW8cb Full Source Code from This Video https://github.com/AlexanderFarrell/productivity_server_series/tree/01-setup Picture Photo Credit in Thumbnail: https://www.pexels.com/photo/plasma-ball-illustration-414860/ Download and Install NodeJS (Download the LTS version) https://nodejs.org/en ExpressJS Information https://expressjs.com/ Timestamps 00:00 - Introduction ? 00:12 - Overall Folder Structure ? 00:37 - package.json and dependencies ⚡ 02:45 - Server Folder Structure ? 03:19 - Modules Explanation ? 04:36 - Routes Explanation ? 05:50 - Client Folder Structure ? 06:35 - Data and Dev Folder Structure ⚙ 07:13 - Reusable Express App Setup ♻ 12:10 - Middleware Explanation ? 12:58 - Finish Reusable Express App Setup ✅ 14:41 - Create Our First Router ? 15:55 - Finish server.js ? 16:30 - Final steps to launch ? 17:20 - Test ? 17:38 - Conclusion and Thank You ?

, чтобы оставлять комментарии