Main structure of node.js project. Folders / files:
- __tests__. Tests folder. See Jest Docs and Chai Docs
- app:
- config
- controllers
- middlewares
- models
- routes
- helpers
- app.js. Entry point.
- package.json.
- .env. Environment descriptor. See dotenv doc.
Extras:
- .eslintrc. Linter JS, static code analyzer. See EsLint Docs.
- .prettierignore. Code formatter. See Prettier Config and Prettier Ignore.
- .ecosystem.config.js. Process Manage at runtime. See PM2 Docs.
Follow the steps below:
- Clone the project from the Github Platform. Execute:
git clone [url project]
- Open the project downloaded.
Follow the steps below:
- Clone the project from the Github Platform. Execute:
git clone [url project]
- Open the project downloaded.
- Node Developers Guide
- .gitignore file configuration. See Official Docs.
- Git branches. See Official Docs