Logo

Mock Realtor App


NestJS Prisma Postgres Jest

Developed alongside this udemy course

What I Learned

  • The basics of Prisma
  • Role based authorization
  • More about NestJS Execution Context, Reflection and metadata
  • Custom route handler decorators and createParamDecorator
  • NestJS Interceptors and the basics of RxJS Observables
  • Unit tests in NestJS and more advanced Jest mocking

Routes

  • POST /auth/signup/:userType

  • POST /auth/signin

  • POST /auth/key

  • GET /auth/me

  • GET /home

  • GET /home/:id

  • POST /home

  • PUT /home/:id

  • DELETE /home/:id

  • POST /home/:id/inquire

  • GET /home/:id/messages