hrishix6/express-typescript-docker-starter

Repository files navigation

Boilerplate for typical express backend application with typescript and standard code quality tooling configured.

# runn in dev mode
$ yarn run start:dev

# run tests
$ yarn test

# generate code coverage
$ yarn run test-cov

# format code
$ yarn run format

# lint code
$ yarn run lint

# check if code is formatted correctly
$ yarn run check-formatting

# run in production
$ yarn run start:prod
  • Dockefile for production image.
  • Dockerfile.dev for development.
# starts app in debug+watch mode make changes and save to auto reload
$ docker compose up
  • .vscode/launch.json has debug config to attach to running docker container for debugging using vscode.
  • name test files with '.spec.ts' suffix to exclude them in production build.

MIT

About

boilerplate for express app with typescript and docker

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published