Skip to content

bradosia/SJSU-CS160-Uber-Clone

 
 

Repository files navigation

Description

This project reproduce the popular ride-sharing platform Uber.

Our team develop the infrastucture and website to accommodate both drivers and riders. Drivers can view a map and wait to accept nearby riders in real-time. Conversely,riders can submit requests and be assigned to a driver. Riders should be able to complete their request in a timely manner. .

This web app includes authentication and uses Mapbox services to fetch users real time location, calculate driving distances and get driving instructions.

We also have a database to store users ride-sharing history and their ratings. image

image

Build with:

  • MongoDB
  • Express
  • React
  • Node
  • Heroku

Team members:

  • Alan Kashiwagi
  • Branden Lee
  • Ngan Nguyen
  • Sara Ngo
  • Shaoyue Liu

Quick start

Start the node server using: nodemon server

Start the React app by changing directory to /frontend and using: npm start

.env requires MONGO_URI variable

Remember to install packages

How to start the server

First add the .env file to the directory

cd "UberClone"
npm install
npm start

How to start the web server

cd "UberClone\frontend" #windows path :(
npm install
npm start

Production server (this will generate AI riders and drivers)

Go to frontend/constants.js and change the variables:

export const AUTHENTICATION_SERVER = "https://uberclonecs160.herokuapp.com";
export const CHAT_SERVER = "https://uberclonecs160.herokuapp.com";
export const MAP_SERVER = "https://uberclonecs160.herokuapp.com";

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 65.4%
  • CSS 33.5%
  • HTML 1.1%