Statements | Branches | Functions | Lines |
---|---|---|---|
ββββsrc
β app.ts # App entry point
β ββββapi # Express route controllers and middleware for all the endpoints of the app
β ββββconfig # Environment variables and configuration related stuff
β ββββhandlers # Handlers
β ββββhelpers # Helper methods
β ββββinterfaces # interfaces
β ββββjobs # jobs
β ββββloaders # Split the startup process into modules
β ββββmodels # data access layer
β ββββservices # All the business logic is here
ββββ.editorconfig # Editorconfig setup
ββββ.env # Environment variables
ββββ.eslintignore # To ignore some folder
ββββ.eslintrc # Eslint setup
ββββ.huskyrc.json # Husky setup
ββββ.lintstagedrc.json # lint-staged setup
ββββ.nvmrc # Version nodejs
ββββ.prettierrc # Prettier setup
ββββ.jest.config.ts # Jest setup
ββββtsconfig.json # TypeScript setup
ββββwebpack.config.ts # Webpack setup
npm run dev
for a development environment
npm run build
prepare the project for a production environment
npm start
for a production environment