NestJS Prisma Blog API made with ❤️
A Blog API made with Nestjs and Prisma with PostgreSql as database.
For this project you need :
node>= 20docker&docker compose
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 installRun docker compose to have postgresql available for our dev environement:
$ docker compose up -dPrisma & Run Migration:
# Get prisma
$ npx prisma
# Run migrations
$ npx prisma migrate devRun the dev server:
$ npm run start:dev