Skip to content

fastify starter using typescript, typebox, prisma, postgre

Notifications You must be signed in to change notification settings

pharindoko/fastify-prisma-ts

Repository files navigation

Fastify-Prisma-Typescript-Starter

This is a starter using:

  • Fastify 3 with Typescript
  • Fastify-Swagger with Openapi 3.0
  • Typebox
  • Prisma 2
  • Postgresql

Requirements

Docker / Docker-Compose

Build

make build

Start

make start

Known Issues

  • 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)