Skip to content

609harsh/realtor-app

Repository files navigation

Description

This Api provides user to post information about homes. It supports three types of users "BUYER", "REALTOR", "ADMIN" adding multitenancy to this API. It also provides JWT token based authentication and authorization. This Api is currently hosted on render. Anyone can use this API for making projects on frontend.

Tech Stack: NestJS, PostgreSQL, Prisma ORM, Swagger, JWT, Bcryptjs.

API Link(BASE): https://realtor-app-api.onrender.com

Swagger Documentation Link: https://realtor-app-api.onrender.com/api

image

ALL Routes image

DTO'S image

Installation

$ npm install
$ npx prisma generate

Running the app

# development
$ npm run start

# watch mode
$ npm run start:dev

# production mode
$ npm run start:prod

ENV Variables

  • DATABASE_URL=<POSTGRESQL_DATABASE_URL>
  • JWT_TOKEN=
  • PRODUCT_KEY=<PRODUCT_KEY>

Support

Nest is an MIT-licensed open source project. It can grow thanks to the sponsors and support by the amazing backers. If you'd like to join them, please read more here.