Skip to content

Ihsas01/mern-estate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

34 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

🏑 MERN Estate β€” Modern Real Estate Platform A powerful full-stack real estate application built with the MERN stack:

MongoDB Β· Express.js Β· React.js Β· Node.js

Easily list, search, and manage properties with a modern, responsive, and user-friendly interface.

✨ Features βœ… User Authentication β€” Sign up, sign in, and manage your profile βœ… Create & Manage Listings β€” Add, edit, and delete property listings βœ… Advanced Search & Filters β€” Quickly find the perfect property βœ… Detailed Property Pages β€” Includes image galleries and rich details βœ… Contact Sellers β€” Simple built-in inquiry form βœ… Fully Responsive β€” Optimized for desktop, tablet, and mobile

βš™οΈ Prerequisites Node.js (v14+)

MongoDB

npm or yarn

πŸš€ Setup & Installation 1️⃣ Clone the repository bash Copy Edit git clone cd mern-estate 2️⃣ Install server dependencies bash Copy Edit cd api npm install 3️⃣ Install client dependencies bash Copy Edit cd ../client npm install 4️⃣ Configure environment variables Create a .env file inside api:

ini Copy Edit MONGO= JWT_SECRET= PORT=3000 Create a .env file inside client:

bash Copy Edit VITE_API_URL=http://localhost:3000/api ▢️ Running the Application Start the backend server:

bash Copy Edit cd api npm run dev Start the frontend client:

bash Copy Edit cd client npm run dev 🌐 Your app will be available at:

Frontend: http://localhost:5173

Backend API: http://localhost:3000

πŸ—‚οΈ Project Structure csharp Copy Edit mern-estate/ β”œβ”€β”€ api/ # Backend β”‚ β”œβ”€β”€ controllers/ # Route controllers β”‚ β”œβ”€β”€ models/ # Mongoose models β”‚ β”œβ”€β”€ routes/ # API endpoints β”‚ β”œβ”€β”€ middleware/ # Auth & other middleware β”‚ └── index.js # Server entry point β”‚ └── client/ # Frontend β”œβ”€β”€ src/ β”‚ β”œβ”€β”€ components/ # Reusable UI components β”‚ β”œβ”€β”€ pages/ # Page views β”‚ β”œβ”€β”€ App.jsx # Main app component β”‚ └── main.jsx # Entry point └── public/ # Static assets πŸ› οΈ Technologies & Tools Frontend React.js βš›οΈ

React Router

Axios

Tailwind CSS 🎨

React Icons

Backend Node.js

Express.js πŸš€

MongoDB + Mongoose

JWT Authentication πŸ”

Multer (file uploads)

πŸ’‘ Want to make it even cooler? ✨ Add animations with Framer Motion πŸ”„ Implement infinite scrolling for listings πŸ“ Integrate Google Maps to show property locations πŸ’¬ Add real-time chat between buyers & sellers

❀️ Contribute & Inspire If you'd like, I can also help:

Add stunning CSS effects & hover animations

Build custom modals, cards, and parallax scrolling

Create light & dark themes

Make the UI look truly modern, clean & professional

About

Real estate app using MERN and Taildwind css

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages