Skip to content

wchungg/mern-estate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

50 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MERN Real Estate Project

This project is a full-stack MERN (MongoDB, Express, React, Node.js) real estate application featuring secure authentication, user-managed listings, and advanced search and filtering. It is designed to replicate core functionality found in modern real estate platforms.

Overview

The application allows users to sign up, manage their profiles, create and edit real estate listings, and search properties using multiple filters and sorting options. Authentication is handled using JWT and Google OAuth, with protected routes for sensitive pages such as user profiles.

home home2

Key Features

Authentication

  • Email and password login using JSON Web Tokens (JWT)
  • Google OAuth integration for signup and login
  • Client-side route protection for authenticated pages (e.g., profile)
signin profile

User Profile

  • Update user information (username, email, password)
  • Upload and change profile picture
  • Persistent user data stored in MongoDB

Listing Management

  • Create, edit, and delete property listings from the user profile
  • Image slider for listing photos
  • Contact option for potential buyers
create listing

Search and Filtering

  • Search by listing title
  • Sidebar filters for price, type, amenities, and other attributes
  • Sorting options for results (e.g., price, newest)
search filteredsearch

Deployment

  • Deployed on Render

Tech Stack

  • Frontend: React, Vite
  • Backend: Node.js, Express
  • Database: MongoDB
  • Authentication: JWT, Google OAuth
  • Deployment: Render

Installation and Local Setup

  1. Clone the repository.

  2. Open two terminals and navigate to:

    • /api
    • /client
  3. In both directories, install dependencies and start development servers:

    npm install
    npm run dev
  4. Add your local IP address to MongoDB Atlas network access.

  5. Configure environment variables for MongoDB URI, JWT secret, and Google OAuth credentials.

Notes

This project is intended as a full-stack practice application demonstrating authentication flows, CRUD operations, protected routes, and search functionality in a MERN architecture.

About

real estate app with MERN and tailwind css

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages