Skip to content

EduLinkUp/uberpro

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

1 Commit
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸš– GoRide – Full-Stack Uber Clone

GoRide is a real-time cab booking platform inspired by Uber, built using the MERN stack. It enables seamless ride booking, driver matching, and live trip tracking with real-time communication.

🌟 Key Highlights

πŸ” Secure JWT Authentication for riders & drivers

πŸš— Book rides and match with nearby drivers

πŸ—ΊοΈ Live location tracking using Google Maps API

πŸ”„ Real-time updates via Socket.io

πŸ’Έ Dynamic fare calculation

🧾 Ride history & trip management

πŸ“± Fully responsive UI

πŸ› οΈ Tech Stack πŸ”Ή Frontend

React.js (Hooks + Context API)

Tailwind CSS

Google Maps API

Axios

πŸ”Ή Backend

Node.js + Express.js

MongoDB + Mongoose

Socket.io

JWT Authentication

REST APIs

πŸ“ Project Structure πŸ”Ή Backend (/backend) backend/ β”œβ”€β”€ controllers/ β†’ Business logic β”œβ”€β”€ models/ β†’ Mongoose schemas β”œβ”€β”€ db/ β†’ DB connection β”œβ”€β”€ middleware/ β†’ Auth & error handling β”œβ”€β”€ routes/ β†’ API routes β”œβ”€β”€ services/ β†’ Fare & notification logic β”œβ”€β”€ socket/ β†’ Real-time events β”œβ”€β”€ app.js β†’ Express config └── server.js β†’ Entry point

πŸ”Ή Frontend (/frontend) frontend/ β”œβ”€β”€ public/ β”œβ”€β”€ src/ β”‚ β”œβ”€β”€ pages/ β†’ Screens (Home, Login, Dashboard) β”‚ β”œβ”€β”€ components/ β†’ Reusable UI β”‚ β”œβ”€β”€ context/ β†’ Global state β”‚ β”œβ”€β”€ assets/ β†’ Images & icons β”‚ └── App.js β†’ Routing

πŸš€ Getting Started πŸ”Ή Prerequisites

Node.js (v16+)

MongoDB (Local/Atlas)

Google Maps API Key

πŸ”Ή Installation 1️⃣ Clone Repo git clone https://github.com/sakshi04-ui/GoRide.git cd GoRide

2️⃣ Backend Setup cd backend npm install

Create .env file in backend/

PORT=5000 MONGO_URI=your_mongodb_uri JWT_SECRET=your_secret_key GOOGLE_MAPS_API_KEY=your_api_key

Start backend:

npm run dev

3️⃣ Frontend Setup cd ../frontend npm install npm start

🌐 Running App

Frontend β†’ http://localhost:3000

Backend β†’ http://localhost:5000

πŸ” Environment Variables PORT=5000 MONGO_URI=mongodb+srv://your-cluster-url JWT_SECRET=supersecretkey GOOGLE_MAPS_API_KEY=your-api-key

🧠 Future Improvements

πŸ’³ Payment Integration (Stripe / Razorpay)

πŸ§‘β€πŸ’Ό Admin Dashboard

🌍 Multi-language Support

πŸ”” Push Notifications (Firebase)

🀝 Contributing

Contributions are welcome! Feel free to fork the repo and create a PR.

πŸ“„ License

This project is licensed under the MIT License.

Releases

No releases published

Packages

 
 
 

Contributors

Languages