A simple REST API implemented with Fastify
Server: Node, Fastify
Test: AVA, Pactum
Clone the project
git clone https://github.com/leosuncin/fastify-example.git
Go to the project directory
cd fastify-example
Install dependencies
npm install
Start the server
npm start
To run unit tests, run the following command:
npm test
To run e2e tests, first run the server in background and then run the following command:
npm run test:e2e
Release under the terms of GPL v3