Campus Pool is a modern, real-time carpooling platform designed specifically for university students. It connects students traveling on the same route, helping them share rides, reduce travel costs, and lower their carbon footprint.
- Host a Ride: Create a ride listing with source, destination, time, and vehicle type.
- Find & Join: Filter available rides by time, price, or seats and request to join.
- Smart Notifications: Real-time updates when a host accepts or rejects your request.
- In-Ride Chat: Integrated group chat for each ride using
Socket.io. - Privacy Focused: Chat is only accessible to accepted members of the ride.
- Fair Split Calculator: Admin can instantly calculate and broadcast the per-person share based on the total trip cost.
- Transparent Pricing: Users see estimated costs before joining.
- Verified Profiles: Users are authenticated via college credentials.
- Gender Filtering: Option to host "Female Only" rides for safety and comfort.
- Vehicle Choice: Support for various vehicle types (Uber Go, Premier, Auto, Bike).
This project is built using the MERN Stack for a robust and scalable architecture.
| Component | Technology | Description |
|---|---|---|
| Frontend | React.js | Dynamic, responsive UI with react-router-dom. |
| Styling | Tailwind CSS | Modern, utility-first CSS for glassmorphism and gradients. |
| Icons | Lucide React | Beautiful, consistent iconography. |
| Backend | Node.js / Express | RESTful API with distinct route controllers. |
| Database | MongoDB | NoSQL database for flexible data modeling (Users, Rides, Chats). |
| Real-Time | Socket.io | Bidirectional event-based communication for chat and alerts. |
| Auth | JWT | Secure JSON Web Token authentication. |
| Dashboard | Ride Details |
|---|---|
| Hero section with gradient UI | Chat & Fare Calculator |
(Add your screenshots here)
Follow these steps to run the project locally.
- Node.js (v14+)
- MongoDB (Local or Atlas URL)
git clone https://github.com/Parshuram02/Campus-Pool.git
cd Campus-Poolcd backend
npm install
# Create a .env file and add your MONGO_URI and JWT_SECRET
npm run dev# Open a new terminal
cd frontend
npm install
npm startOpen http://localhost:3000 to view it in the browser.
Contributions are welcome! Please fork the repository and submit a pull request for any enhancements.
- 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
Prashant (Admin)
AIT Pune
Project Link: https://github.com/Parshuram02/Campus-Pool