This project is a full-stack rental PG website named RentHub. It allows users to search for rental PGs, filter results based on their criteria, book accommodations, and make secure payments.
- Search for PG accommodations based on location, budget, and amenities.
- Apply filters for criteria such as room type, gender-specific PGs, etc.
- Secure booking system.
- Integrated payment gateway for seamless transactions.
- Frontend: React.js
- Backend: Node.js, Express.js
- Database: MongoDB
- Payment Gateway: (Specify, e.g., Razorpay, Stripe, etc.)
Make sure you have the following installed:
- Node.js: Download and install Node.js
- MongoDB: Download and install MongoDB
- npm: Comes with Node.js
- Install MongoDB and ensure it is running on your local machine or use a cloud-based MongoDB service like Atlas.
- Create a database named
Renthub
.
git clone <repository_url>
cd RentHub
- Navigate to the
backend
directory:cd backend
- Install dependencies:
npm install
- Start the backend server:
npm start
- Ensure the backend server is running on the specified port (e.g.,
http://localhost:5000
).
- Navigate back to the root directory:
cd ..
- Install frontend dependencies:
npm install
- Start the frontend server:
npm start
- The frontend will run at
http://localhost:3000
.
- Open your browser and go to
http://localhost:3000
. - Use the search and filter options to browse rental PGs.
- Select a PG, book it, and proceed to payment.
- Enjoy seamless booking and payment functionality.
RentHub/
├── backend/ # Backend server files
│ ├── models/ # MongoDB models
│ ├── routes/ # API routes
│ ├── server.js # Entry point for backend
│ └── config/ # Configuration files
├── frontend/ # Frontend React app files
│ ├── public/ # Public assets
│ ├── src/ # React components and pages
│ └── package.json # Frontend dependencies
└── README.md # Documentation
Contributions are welcome! Please follow these steps:
- Fork the repository.
- Create a new branch for your feature/bugfix.
- Commit your changes and push the branch.
- Submit a pull request.
This project is licensed under the MIT License.
For any queries, feel free to reach out:
- Name: [Mausumi Ghadei]
- Email: [mausumighadei@gmail.com]
- GitHub: [https://github.com/Mausumi134]