The goal of this project is to learn how to setup a basic Typescript application with Fastify
To run the application you just need to have Docker and Docker Compose. With these you just need to run the following command
$ sudo docker-compose up
With this the project dependencies will be installed and the project gonna start running on port 8080.
To run the application tests you'll need to install it's dependencies
$ npm install
After installing the project dependencies all you need to do is run the tests command
$ npm run test
All application tests must be of the .ts
extenstion and be inside a /tests
folder. E.g.: /tests/integration/healthcheckHandler.spec.ts