A progressive Node.js framework for building efficient and scalable server-side applications.
This project is created for educational purposes, to teach basic Nestjs elements, and to display Prisma ORM.
- CRUD User
- CRUD Post
- Like/Unlike Post
- Follow/Unfollow a User
- Repost/Reply a Post
- List all Repost/Replies from a PostId
- List only Posts of followed Users
- Upload Media on Post
- BONUS: Authentication/Authorization
- BONUS: Search feature with Caching
- BONUS: Notification module
$ npm install# create the volume-postgresql volume
$ docker volume create volume-postgresql#run migrations
$ npm run prisma:migrate
#run generate
$ npm run prisma:generate# development
$ npm run start
# watch mode
$ npm run start:dev
# production mode
$ npm run start:prod# unit tests
$ npm run test
# e2e tests
$ npm run test:e2e
# test coverage
$ npm run test:cov