This is a template for applications that use Node 16 with Typescript. This template has eslint configured, tests with Jest, lint commit (using conventional commits) and docker configuration for production an dev environment.
To use this template, press the "Use Template" button on first page of this repository on Github, this will create a repository on your Github account, from which you can execute git clone command.
If you have docker installed on your machine, you can run the development environment by executing the following command:
docker compose up --build
If you add some new module to node_modules you will need to execute the command below in order to update the anonymous volume attached to node_modules inside of docker container:
docker compose down
This docker configuration is not ready to expose ports, please, check docker documentation in case you need to expose ports.
To commit on this repository, run the following command:
npm run commit
It will guide your through the conventional commit template. If you do not follow the conventional commit, a hook will prevent your commit to be completed.