This is a simple API service for managing posts and users, built with Fastify and Prisma.
- Node.js
- Fastify
- PNPM
- Prisma
-
Clone the repository:
git clone <repository-url> cd post-api-service
-
Install dependencies:
pnpm install
-
Set up the environment variables:
cp .env.example .env
-
Run the migrations:
pnpm prisma migrate dev
To start the application in development mode:
pnpm run dev