PrimeEstate is a real estate web application built using the MERN (MongoDB, Express.js, React, Node.js) stack. This project allows users to browse, search, and manage real estate listings. It includes features for user authentication, property management, and responsive design.
- User Authentication (Login, Register)
- Property listings with details
- Search functionality for properties
- Create, Read, Update, and Delete (CRUD) operations for property management
- Responsive design for various devices
- Light/dark mode toggle
Frontend:
- React
- Redux (for state management)
- Tailwind CSS (for styling)
Backend:
- Node.js
- Express.js
- MongoDB (with Mongoose for object modeling)
- JWT (JSON Web Tokens for authentication)
- bcrypt (for password hashing)
To get a local copy up and running, follow these simple steps:
Prerequisites
- Node.js and npm installed
- MongoDB installed and running
- Clone the repository
git clone https://github.com/NivedHari/mern-estate.git
cd mern-estate
- Install backend dependencies
npm install
- Create a .env file in the root directory and add the following:
mongo=your_mongodb_connection_string
jwt_secret=your_jwt_secret
4.Start the backend server
npm run dev
Frontend Setup
- Navigate to the frontend directory
cd client
- Install frontend dependencies
npm install
- Create a .env file in the client directory and add the following:
VITE_FIREBASE_API_KEY="your_firebase_Api_Key"
4.Start the frontend server
npm run dev
The application should now be running at http://localhost:5173/
Contributions are always welcome!
- Fork the repository
- Create your feature branch (git checkout -b feature/AmazingFeature)
- Commit your changes (git commit -m 'Add some AmazingFeature')
- Push to the branch (git push origin feature/AmazingFeature)
- Open a pull request