Skip to content

ryands17/fastify-prisma

Repository files navigation

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

About

Basic Fastify app using Prisma as an ORM

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •