- Install node.js, yarn (or use npm).
- Clone this repository, and using a terminal navigate to its directory.
- Run
yarn
ornpm install
to install the dependencies.
- Copy the contents of the
.env.example
file to a.env
next to it, and edit it with your values. - Run
yarn start
ornpm start
to start the application.
- Installing the Eslint (
dbaeumer.vscode-eslint
) and Prettier - Code formatter (esbenp.prettier-vscode
) extensions is recommended.
- Run
yarn lint
ornpm lint
to lint the code. - Run
yarn format
ornpm format
to format the code.
Check the placeholder test examples to get started :
/src/app.ts
that provide a functionsum
/test/app.spec.ts
who test thesum
function
This files are just an example, feel free to remove it
- Run
yarn test
ornpm test
to execute all tests. - Run
yarn test:watch
ornpm test:watch
to run tests in watch (loop) mode. - Run
yarn test:coverage
ornpm test:coverage
to see the tests coverage report.