pharindoko / fastify-prisma-ts

fastify starter using typescript, typebox, prisma, postgre

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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)

About

fastify starter using typescript, typebox, prisma, postgre


Languages

Language:TypeScript 71.2%Language:Makefile 13.0%Language:Shell 11.9%Language:Dockerfile 4.0%