Skip to content

codeBKashif/Homee

Repository files navigation

Description

This application built using NestJS, Prisma, GraphQL and Sqlite as DB and JWT is used for Authentication. Images are added in public folder for the reference. Node version required to run is Node 12 or above

Installation

$ yarn install

Running the app

$ yarn start dev

API Details

POST    localhost:3000/user/register
name
email
password

register Already Exist

POST    localhost:3000/user/login
email
password

login

POST    localhost:3000/apartment
city
country
rooms
building
lat
long

Add Apartment

GET     localhost:3000/apartment?lat=33.6503977&long=72.9544382&city=islamabad&radius=20
lat
long
city
country
radius

Get Apartments

POST     localhost:3000/user/favorite
apartmentId

Add Favorite

GET     localhost:3000/user/favorite

List Favorites

GraphQL Example

GraphQL example

About

Nest JS with Prisma and SQLite

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published