Sample starter project with required configuration such as express, typescript, prettier, husky and docker.
- nodejs
- Docker and docker-compose (for containerization)
- npm
-
git clone https://github.com/nischalshakya15/express-server-typescript.git
-
Go to the project directory
cd express-server-typescript
-
Rename env.example to .env file
-
Install dependencies
npm install
-
Running in development mode
npm run start:dev
-
Running in production mode
npm run build && npm start
-
Open the browser
http://localhost:8080
docker-compose --compability up -d
https://stackify.com/winston-logging-tutorial/ https://www.codota.com/code/javascript/functions/winston/format https://medium.com/@jorgemcdev/node-express-app-typescript-tslint-prettier-airbnb-husky-c42588cbcbe3