A TypeScript-based REST API boilerplate using Prisma and Fastify framework.
First, clone the repository and install the Node.js dependencies:
npm installThis project uses a Postgres database. To set up your database, run the following migration command:
For development:
npm run migrateFor production:
npm run migrate:prodRun the following command to generate the Prisma Client:
npm run db:genLaunch your Fastify server with the following command:
npm run devTo build the server, use the command:
npm run build