Skip to content

Sai-Chakradhar-Mahendrakar/Real-Estate-Marketplace-app-using-MERN-Stack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RealEstate Marketplace Application

A full-fledged RealEstate Marketplace built using the MERN stack (MongoDB, Express.js, React, and Node.js).

Table of Contents

Overview

This project is a RealEstate Marketplace web application that allows users to buy, sell, and rent properties. It features a user-friendly interface, secure authentication, and a robust backend for managing property listings.

Features

  • User Authentication (Login/Register)
  • Property Listings (Buy, Sell, Rent)
  • Agent Profiles
  • Dashboard for managing listings
  • Search and Filter properties
  • Detailed property view with related properties

Screenshots

Home Page

Home Page

Login Page

Login Page

Agent Page

Agent Page

Create Ad Page

Create Ad Page Create Ad Page 2 Create Ad Page 3

Dashboard

Dashboard

For Rent Page

For Rent Page

For Sell Page

For Sell Page

Property Overview

Property Overview Property Overview 2 Property Overview 3

Related Products

Related Products

Installation

  1. Clone the repository:
    git clone https://github.com/Sai-Chakradhar-Mahendrakar/Real-Estate-Marketplace-app-using-MERN-Stack.git ```
    
  2. Navigate to the project directory:
    cd Real-Estate-Marketplace-app-using-MERN-Stack ```
    
  3. Install server dependencies:
    cd server
    npm install ```
    
  4. Install client dependencies:
    cd ../client
    npm install ```
    
  5. server config.js
import SES from "aws-sdk/clients/ses.js";
import S3 from "aws-sdk/clients/s3.js";
import NodeGeocoder from "node-geocoder";

export const DATABASE = "mongodb://127.0.0.1:27017/xxx";

export const AWS_ACCESS_KEY_ID = "xxx";
export const AWS_SECRET_ACCESS_KEY = "xxx/xxx";

export const EMAIL_FROM = '"Name" <xxx@xx.x>';
export const REPLY_TO = "xxx@xx.x";

const awsConfig = {
  accessKeyId: AWS_ACCESS_KEY_ID,
  secretAccessKey: AWS_SECRET_ACCESS_KEY,
  region: "us-east-1",
  apiVersion: "2010-12-01",
};
export const AWSSES = new SES(awsConfig);
export const AWSS3 = new S3(awsConfig);

const options = {
  provider: "google",
  apiKey: "xxx",
  formatter: null,
};

export const GOOGLE_GEOCODER = NodeGeocoder(options);

export const JWT_SECRET = "xxx";
export const CLIENT_URL = "http://localhost:3000";
  1. client config.js
export const API = "http://localhost:8000/api";
export const GOOGLE_PLACES_KEY = "xxx";
export const GOOGLE_MAPS_KEY = "xxx-xxx";

Usage

  1. Start the server:
    cd server
    npm run dev ```
    
  2. Start the client::
    cd ../client
    npm start```
    

The application should now be running on http://localhost:3000.