Skip to content

A ride-sharing platform designed for MUET students, making travel between MUET and Hyderabad affordable, and convenient. Built as a hackathon project

Notifications You must be signed in to change notification settings

sunjay-dev/Ride-sharing-website

Folders and files

NameName
Last commit message
Last commit date

Latest commit

305507f Β· Mar 7, 2025

History

24 Commits
Mar 6, 2025
Mar 6, 2025
Mar 5, 2025
Mar 2, 2025
Mar 6, 2025
Mar 6, 2025
Mar 2, 2025
Jan 31, 2025
Jan 31, 2025
Mar 6, 2025
Jan 22, 2025
Mar 7, 2025
Mar 6, 2025
Mar 6, 2025
Mar 6, 2025
Jan 31, 2025
Jan 31, 2025
Jan 31, 2025

Repository files navigation

Ride Sharing Website

πŸ“Œ Overview

This is a ride-sharing platform designed to help MUET students conveniently find and offer rides, reducing travel costs and promoting eco-friendly commuting. Users can create ride offers, search for available rides, manage their trips, and receive real-time updates.

πŸš€ Features

  • User Authentication: Secure login and signup system.
  • Offer a Ride: Drivers can create ride offers.
  • Find a Ride: Passengers can search for available rides.
  • Manage Rides: Users can oversee their current rides.
  • Ride History: Log of all created, joined, and canceled rides.
  • Notifications: Alerts for ride cancellations or when a passenger leaves.
  • Real-time Updates: Live seat availability and ride notifications using WebSockets.
  • Forgot Password: Users can reset passwords via email link.
  • Microsoft Login: Users can Login and Sign Up using their Microsoft university email.

πŸ›  Tech Stack

HTML5 CSS3 JavaScript EJS TailwindCSS Socket.io NodeJS NPM Express.js MongoDB Render Git Figma Canva

  • Frontend: EJS (Embedded JavaScript Templates) + Tailwind CSS
  • Backend: Node.js + Express.js
  • Database: MongoDB (via Mongoose)
  • Authentication: JWT (JSON Web Token) + Microsoft OAuth
  • File Storage: Cloudinary
  • Email Service: Resend
  • Real-time Updates: WebSockets

πŸ”§ Installation

  1. Clone the repository:
    git clone https://github.com/sunjay-dev/Ride-sharing-website
    cd Ride-sharing-website
  2. Install dependencies:
    npm install
  3. Set up environment variables in a .env file (see below).
  4. Run the server:
    npm start

The app will be running at http://localhost:3000

Environment Variables

Create a .env file in the root directory and add the following:

MONGO_URI=mongodb+srv://your_username:your_password@your_cluster.mongodb.net/database_name
CLOUDINARY_CLOUD_NAME=your_cloud_name
CLOUDINARY_API_KEY=your_api_key
CLOUDINARY_API_SECRET=your_api_secret
JWT_SECRET=your_jwt_secret
PORT=3000
senderEmail=EMAIL_ADDRESS
CLIENT_URL=http://localhost:3000
RESEND_EMAIL_API_KEY=RESEND_EMAIL_API_KEY
MICROSOFT_CLIENT_ID=MICROSOFT_CLIENT_ID
MICROSOFT_CLIENT_SECRET=MICROSOFT_CLIENT_SECRET

πŸ”‘ User Authentication

  • Sign Up with university email (@students.muet.edu.pk).
  • Login to access ride-sharing features.
  • Forgot Password? Reset using an emailed link.

πŸš€ What's Next?

  • Develop a mobile app for iOS & Android.
  • Add a feature for drivers to approve passengers before joining a ride.

πŸ† Achievements

  • πŸŽ‰ Hackathon: Hack for HumanityπŸ₯‡
  • Public Voting WinnerπŸ…
  • Ranked 20th among all participantsπŸ“œ

Certificate Awarded

🀝 Contributors

  • Varoon Kumar - UI Designer
  • Sunjay Kumar - MERN Stack Developer (Backend Focused)
  • Muhammad Sajid - MERN Stack Developer (Frontend Focused)

🎯 Support Us

If you like our project, please support us by contributing open source! πŸ™Œ

About

A ride-sharing platform designed for MUET students, making travel between MUET and Hyderabad affordable, and convenient. Built as a hackathon project

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published