This is a simple API for creating blog posts including user authentication with JWT token. The API is documented with Swagger.
- NestJS
- PostgreSQL
- Prisma
- Swagger
- Docker
- Close the repo:
gh repo clone Kei-K23/nestjs-blog-api
- Navigate to the cloned directory:
cd nestjs-blog-api
- Install dependencies:
npm install
- Start the PostgreSQL database with Docker:
docker-compose up -d
- Apply database migrations:
npx prisma migrate dev
- Start the project locally:
npm run start:dev
Make sure to change .env
variables with your own ones.