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 π
Download
0 formatsNo download links available.