Main structure of node.js project. Folders / files:
- __tests__. Tests folder. See Jest Docs and Chai Docs
- app:
- config
- controllers
- crons
- middleware
- models
- routes
- tmp
- app.js. Entry point.
- .env. Environment descriptor. See dotenv doc.
- .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.
- package.json.
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