A web application designed to help users easily find and connect with paying guest (PG) accommodations. This platform aims to simplify the search process for students and professionals looking for suitable PGs.
- Search Functionality: Users can search for PGs based on location, city, or specific landmarks.
- Filtering Options: Advanced filters for refining search results based on price range, amenities (e.g., Wi-Fi, food, AC), sharing type (single, double, etc.), and more.
- Detailed PG Listings: Each listing provides comprehensive details including photographs, room types, available amenities, rules, and contact information of the PG owner/manager.
- User Reviews and Ratings: Users can read and submit reviews and ratings for PGs they have stayed at.
- Framework/Library: React.js (with Vite)
- Language: JavaScript (JSX), HTML, CSS
- Styling: (e.g., Tailwind CSS, Material-UI, or custom CSS - specify as appropriate)
- State Management: (e.g., Redux, Zustand, Context API - specify as appropriate)
- Routing: React Router
- Framework/Library: (e.g., Node.js with Express.js, Python with Django/Flask - specify as appropriate)
- Database: (e.g., MongoDB, PostgreSQL, MySQL - specify as appropriate)
- API: RESTful API for communication between frontend and backend
Follow these instructions to get a copy of the project up and running on your local machine for development and testing purposes.
- Node.js (v18.x or later recommended)
- npm (v9.x or later) or yarn
- (Specify any other prerequisites like database software)
-
Clone the repository:
git clone https://github.com/Tanmay0215/pg-finder cd pg-finder -
Install Frontend Dependencies:
cd frontend npm install -
Install Backend Dependencies:
cd ../backend npm install
-
Start the Backend Server: Navigate to the
backenddirectory and run:npm run dev
The backend server will typically start on a port like
http://localhost:5000(check your backend configuration). -
Start the Frontend Development Server: Navigate to the
frontenddirectory and run:npm run dev
The frontend development server will typically start on
http://localhost:5173(for Vite).
Open your browser and navigate to the frontend URL to see the application.
pg-finder/
├── backend/ # Backend application (e.g., Node.js/Express)
│ ├── package.json
│ └── ... # Other backend files and folders
├── frontend/ # Frontend application (e.g., React/Vite)
│ ├── public/
│ ├── src/
│ │ ├── App.jsx
│ │ ├── main.jsx
│ │ └── ... # Components, assets, etc.
│ ├── index.html
│ ├── package.json
│ ├── vite.config.js
│ └── ... # Other frontend files
└── README.md # This file
Contributions are welcome! If you'd like to contribute, please follow these steps:
- 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
Please make sure to update tests as appropriate.
Distributed under the MIT License. See LICENSE for more information. (You'll need to add a LICENSE file if you choose to include one).