typescript based rest-API architecture with prisma and fastify framework.
Install Node dependencies:
npm install
This uses Postgres database.
To set up your database, run:
npm run prisma:save
npm run prisma:depRun the following command to generate Prisma Client:
npm run prisma:genLaunch your Fastify server with this command:
npm run devBuild server with command:
npm run build- Check out the Prisma docs
- Check out the Fastify docs