if there is no package.json
file:
-
npm init -y
-
npm i typescript
-
npx tsc --init
-
npm i prisma @prisma/client fastify fastify-zod zod zod-to-json-schema fastify-jwt fastify-swagger
-
npm i -D ts-node-dev typescript @types/node
-
npm run dev
npx prisma init --datasource-provider postgresql
npx prisma db pull
npx prisma generate
npx prisma migrate dev --name init