A Full-Stack real estate web application built using MERN stack.
- User Authentication and State Persistence: Secure login and registration with persistent user sessions.
- Property Viewing and Saving: Browse and save your favorite properties for easy access.
- Property Listing: Easily list your own properties for sale or rent.
- User Profile Management: Update your profile and manage your listed and saved properties.
- Real-time Chat: Engage in instant messaging with property owners and potential buyers.
- Advanced Search: Utilize powerful search and query functionalities to find the perfect property.
https://prime-estate-rho.vercel.app/
- Fork/Clone the repository.
- Navigate to the project directory.
- Create a .env file in the api folder with the following details:
DATABASE_URL="<your-mongdb-url>"
JWT_SECRET="<your-secret>"
CLIENT_URL=http://localhost:5173 (or) any other url
- Then split the terminal into 3, or use 3 separate terminals (1. Client side (frontend), 2. Server side(backend), 3. Socket.io (real-time messaging)):
Run this in the client side terminal
4.1 Client Side
cd client
npm i
npm run dev
Run this in the server-side (api) terminal
4.2 Backend
cd api
npm i
npm run dev
Run this in the 3rd terminal (socket) terminal
4.3 Real-time Messaging (Socket.io)
cd socket
npm i
npm run dev
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!
- Fork the Project
- 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
Distributed under the MIT License.