Template for Express Typescript.
This is only used development (creating mock servers, etc). If need to use production, dev should maintain this repository, adding more linting and pre-commit hooks
- Node v16 or higher
- Npm v8 or higher
-
Install dependencies
npm install
ornpm ci
-
Install husky for pre-commit hooks
npm run prepare
-
Run local server. This is run typescript compiler concurrently
npm run dev
configs
- all the configs from env variablesdb
- folder for database instances and migrationspublic
- any static files and foldersservices
- third party services (api, database, etc)utils
- utilities and helpers