Thanks to visit codestin.com
Credit goes to github.com

Skip to content

sophoniie/nest-tales

Repository files navigation

NestTales

NestJS Prisma Blog API made with ❤️
A Blog API made with Nestjs and Prisma with PostgreSql as database.

🔭 Requirement

For this project you need :

  • node >= 20
  • docker & docker compose

🛠️ Installation :

For install the project, clone the repository and install dependancies:

# Clone the repository
$ git clone https://github.com/eliphazb/nestjs-prisma-blog-api

# Go into the direcotry
$ cd nestjs-prisma-blog-api/

# Install dependancies
$ npm install

Run docker compose to have postgresql available for our dev environement:

$ docker compose up -d

Prisma & Run Migration:

# Get prisma
$ npx prisma

# Run migrations
$ npx prisma migrate dev

Run the dev server:

$ npm run start:dev

The server is listen on http://localhost:3000 Swagger UI listen server image

About

✍🏾 Blog API made with Nestjs + Prisma + PosgreSQL

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published