fastify-prisma
fastify-prisma copied to clipboard
Basic Fastify app using Prisma as an ORM
Fastify + Prisma
Setup
- Rename
.env.exampleto.envand replace the placeholder values inDATABASE_URLwith 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