This is a boilerplate/starter project for TypeScript express back-end running in Docker using nodemon + ts-node for watching and executing completed with VS Code launch settings for debugging. As a free bonus, the setup also includes Prettier and eslint configs.
- First, run
npm i
to install dependencies. - Run
docker-compose up
for dockerized debugger enabled development environment. Attach debugger using the includedDocker: Attach to Node
launch config. - Run
npm run start:dev
for non-dockerized debugger enabled development environment. Attach debugger using the includedAttach to Node
launch config. - Run
npm run build
for building for production environments. - Run
npm run start
for starting the production environment.
MIT.