An API Boilerplate to create a ready-to-use REST API in seconds with Fastify + Kysely and JWT Authentication
npm installSet Environment for secret key JWT and other configurations
cp .env.example .envIn the project directory, you can run:
npm run devor
npm run dev:watchTo start the app in dev mode. Open http://localhost:3000 to view it in the browser.
npm startFor production mode
npm run testRun the test cases
There is a docker-compose.yml file for starting PostgreSQL with Docker.
docker compose up dbAfter running, you can stop the Docker container with
docker compose downhttp://127.0.0.1:3000/docs