This is a starter using:
- Fastify 3 with Typescript
- Fastify-Swagger with Openapi 3.0
- Typebox
- Prisma 2
- Postgresql
Docker / Docker-Compose
make build
make start
- currently TypeRefs for Typebox are experimental, but I wanted to have this to support reference for schemas instead of using inline schemas.
- fastify-swagger is missing the typing for refResolver - I extended the interface to circumvent this issue (fastify/fastify-swagger#501)