Skip to content

Latest commit

 

History

History
20 lines (12 loc) · 544 Bytes

README.md

File metadata and controls

20 lines (12 loc) · 544 Bytes

Fastify + Prisma

  • A basic setup of a Fastify app using Prisma to interact with Postgres.

Setup

  • Rename .env.example to .env and replace the placeholder values in DATABASE_URL with the actual values of your database instance.

Commands

  • yarn dev

Runs the app in dev mode by default on http://localhost:4000.

Todo

  • Add migrations
  • Refactor error handling
  • Validate request body (zod)
  • Add better logging in development