Bookstore API built using Fastify and Typescript with Optic. Generates an OpenAPI spec using @fastify/swagger
and tracks changes using Optic. To run this locally, you will need node >= 16 and yarn.
Get started by installing dependencies:
yarn install
And then run one of the following commands:
yarn start:local
- starts the serveryarn generate-spec
- generates an OpenAPI spec from code definitions