A really simple NodeJS webapp template (REST API) structured by dividing content by technical role. This is not recognized as a "best practice" but I find it easy to understand. Check out my other components structured template HERE
- api
- date.js
- readme.md
- config
- readme.md
- controllers
- date.js
- index.js
- readme.md
- middlewares
- readme.md
- models
- readme.md
- public
- css
- styles.css
- images
- readme.md
- javascript
- switchTheme.js
- fetchDate.js
- 404.html
- index.html
- readme.md
- css
- routes
- api.js
- date.js
- index.js
- readme.md
- views
- date.ejs
- readme.md
- wireframes
- readme.md
- package-lock.json
- package.json
- server.js
- cookie-parser
- dotenv
- ejs
- express
- helmet
- jsonwebtoken
- mongoose
- morgan
- nodemon
npm install .
npm run dev
MOVED PROJECT GENERATOR HERE
There's a project generator written in Python and Javascript to generate everything you need without an Internet connection. It generates the same project template of this directory so you can get the same content even if you don't have the option to clone this repo.
For more informations about the template check the readme.md inside every folder.