Skip to content

A full-stack rental PG website that allows users to search, filter, and book accommodations with secure payment options.

Notifications You must be signed in to change notification settings

Mausumi134/RentUP

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rental PG Website

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.

Features

  • 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.

Technologies Used

  • Frontend: React.js
  • Backend: Node.js, Express.js
  • Database: MongoDB
  • Payment Gateway: (Specify, e.g., Razorpay, Stripe, etc.)

Getting Started

Prerequisites

Make sure you have the following installed:

  1. Node.js: Download and install Node.js
  2. MongoDB: Download and install MongoDB
  3. npm: Comes with Node.js

Setup Instructions

1. Set Up MongoDB

  1. Install MongoDB and ensure it is running on your local machine or use a cloud-based MongoDB service like Atlas.
  2. Create a database named Renthub.

2. Clone the Repository

git clone <repository_url>
cd RentHub

3. Backend Setup

  1. Navigate to the backend directory:
    cd backend
  2. Install dependencies:
    npm install
  3. Start the backend server:
    npm start
  4. Ensure the backend server is running on the specified port (e.g., http://localhost:5000).

4. Frontend Setup

  1. Navigate back to the root directory:
    cd ..
  2. Install frontend dependencies:
    npm install
  3. Start the frontend server:
    npm start
  4. The frontend will run at http://localhost:3000.

Usage

  1. Open your browser and go to http://localhost:3000.
  2. Use the search and filter options to browse rental PGs.
  3. Select a PG, book it, and proceed to payment.
  4. Enjoy seamless booking and payment functionality.

Project Structure

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

Contributing

Contributions are welcome! Please follow these steps:

  1. Fork the repository.
  2. Create a new branch for your feature/bugfix.
  3. Commit your changes and push the branch.
  4. Submit a pull request.

License

This project is licensed under the MIT License.


Contact

For any queries, feel free to reach out:


About

A full-stack rental PG website that allows users to search, filter, and book accommodations with secure payment options.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published