Back to Browse

How I Layout an ExpressJS Application - Productivity Server Part 1

342 views
Jan 31, 2024
18:30

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 πŸ™‚

Download

0 formats

No download links available.

How I Layout an ExpressJS Application - Productivity Server Part 1 | NatokHD