Skip to content

Nalin7parihar/RideShare-Carpool

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

27 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸš— RideShare - Car Pooling & Ride-Sharing Web Platform

A full-stack MERN-based carpooling platform that connects drivers offering rides and passengers searching for shared travel options. This project emphasizes real-time updates, secure user authentication, and a smooth user experience.i built this project as an inspiration to learn BackEnd Development.


πŸ”₯ Features

πŸ‘₯ Authentication & User Roles

  • Login/Signup for Drivers and Customers
  • Role-based access control
  • JWT authentication (stored in localStorage)

πŸ›£ Ride Management (Driver)

  • Create rides with:
    • Start location, destination
    • Time, date, price
    • Seats available
  • View and manage upcoming rides
  • Cancel rides if needed

🎟 Ride Booking System (Customer)

  • Search available rides by location, date, passengers
  • Book seats in real-time
  • View all booked rides

πŸ”„ Real-Time Updates with WebSockets

  • Live notifications for:
    • Ride booking requests
    • Driver reaching pickup
    • Ride start & end updates

πŸš€ Deployment

  • Backend: Render
  • Frontend: Vercel
  • Database: MongoDB Atlas

πŸ›  Tech Stack

🧠 Backend

  • Node.js
  • Express.js
  • MongoDB (Mongoose)
  • Socket.IO
  • JWT for auth
  • CORS configured

🎨 Frontend

  • React.js + Vite
  • Tailwind CSS
  • Redux Toolkit
  • React Toastify (notifications)
  • Axios for API calls

🌐 Live URLs


🚧 Known Limitations

  • LocalStorage-based JWT auth (can be improved to HttpOnly cookies)
  • Some pages may not be fully functional
  • Basic error handling; limited responsiveness on some screens

πŸ“š Lessons Learned

  • Built full-stack MERN app from scratch
  • Implemented real-time features with Socket.IO
  • Gained experience deploying full-stack apps using Render and Vercel
  • Understood backend APIs, MongoDB schemas, and state management in React

πŸ§‘β€πŸ’» Developed By

Nalin Parihar
GitHub β€’ LinkedIn

About

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages