Skip to content

This is Nestjs Blog API with user authentication with JWT token. User can create, delete and update the blog.

Notifications You must be signed in to change notification settings

Kei-K23/nestjs-blog-api

Repository files navigation

Nest Logo

Nestjs Blog API

This is a simple API for creating blog posts including user authentication with JWT token. The API is documented with Swagger.

Tech stack

  • NestJS
  • PostgreSQL
  • Prisma
  • Swagger
  • Docker

Usage

  • 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.

About

This is Nestjs Blog API with user authentication with JWT token. User can create, delete and update the blog.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published