Skeleton for new typescript services based on express
The project is fully dockerized, if we want to start the app in development mode, we just need to run:
make start-dev
Now, you should be able to start debugging configuring using your IDE. For example, if you are using vscode, you can create a .vscode/launch.json
file with the following config:
{
"version": "0.2.0",
"configurations": [
{
"type": "node",
"request": "attach",
"name": "Attach to docker",
"restart": true,
"port": 9229,
"remoteRoot": "/project"
}
]
}
If you want to stop developing, you can stop the service running:
make stop
make build
make test
Run the linter
make lint
Fix lint issues automatically
make lint-fix