Provides ready to go docker compose config
sudo docker compose build
sudo docker compose up
yarn instal
yarn build
yarn start
yarn test
yarn test:cov
sudo docker compose up backend -d
sudo docker exec fastify-api yarn test:cov
sudo docker compose stop backend
http://localhost:8080/api/<method>
or http://127.0.0.1:8080/api/<method>
- POST
/sandwiches
- GET
/sandwiches/:id
This is ready to use fastify template using typescript, typebox validation and auto registrable routes