An open API service indexing awesome lists of open source software.

https://github.com/2gbeh/realestay

Real Estate Marketplace - Next.js, NestJS + GraphQL
https://github.com/2gbeh/realestay

apollo-client apollo-server bootstrap express-graphql firebase-storage mantine-hooks nestjs next pages-router postgresql prisma react react-hook-form redux-toolkit rtk-query tailwindcss typescript zod

Last synced: about 1 year ago
JSON representation

Real Estate Marketplace - Next.js, NestJS + GraphQL

Awesome Lists containing this project

README

          





# Realestay

Real Estate Marketplace

[![React](https://img.shields.io/badge/React-19.x-087ea4.svg)](https://react.dev/learn/start-a-new-react-project)
[![Next.js](https://img.shields.io/badge/Next-15.x-000.svg)](https://nextjs.org/docs/getting-started/installation)
[![NestJS](https://img.shields.io/badge/NestJS-10.x-e0234e.svg)](https://docs.nestjs.com/first-steps)

![Next JS](https://img.shields.io/badge/Next-black?style=for-the-badge&logo=next.js&logoColor=white)
![NestJS](https://img.shields.io/badge/nestjs-%23E0234E.svg?style=for-the-badge&logo=nestjs&logoColor=white)
![GraphQL](https://img.shields.io/badge/-GraphQL-E10098?style=for-the-badge&logo=graphql&logoColor=white)

## Setup

```sh
$ git clone https://github.com/2gbeh/realestay.git
$ cd realestay
```

#### Client Setup

```sh
$ cd realestay/web
$ npm cache clean --force
$ npm install
# OR npm install --legacy-peer-deps

TODO: copy .env credentials

$ npm run dev
```

> Client: http://localhost:3000

#### Server Setup

```sh
$ cd realestay/api
$ npm cache clean --force
$ npm install
# OR npm install --legacy-peer-deps

TODO: copy .env credentials

$ npm run dev
```

## Usage

> Server: http://localhost:8000/graphql

#### Server Setup (v2)

```sh
$ cd realestay/api-v2
$ npm cache clean --force
$ npm install
# OR npm install --legacy-peer-deps

TODO: copy .env credentials

$ npm run start:dev
```

## Usage

> Server: http://localhost:8000/graphql

## Documentation

- [Swagger](https://aladdin-p20y.onrender.com/)

## Screenshots

#### Admin

![Admin](./web/public/social-preview-admin.png)

#### API

![API](./web/public/social-preview-api.png)

## Resources

- [GraphQL Crash Course w/MERN - Traversy Media](https://youtu.be/BcLNfwF04Kw?si=qgy1hWF7e7wPUA_I)
- [Get started with Apollo Client](https://www.apollographql.com/docs/react/get-started)