Skip to content

chaitanya1994-coder/cab-booking

 
 

Repository files navigation

README

Description

Very basic cab booking platform to allow a rider to book a cab. The cab can be booked for a single user and not for multiple users(No cab sharing functionality)

Basic functionalities:

  • The location is represented as a (x, y) coordinate.
  • Distance between two points (x1, y1) and(x2, y2) is sqrt((x1-x2)^2 + (y1-y2)^2)
  • Platform has decided upon maximum distance a driver has to travel to pickup a rider.
  • A cab has only 1 driver.
  • Sharing of cab is not allowed between riders
  • There is a single type of cab

Following are the features exposed to drivers and riders:

  • Register a rider.
  • Register a driver/cab
  • Update a cab's location
  • A driver can switch on/off his availability
  • A rider can book a cab
  • Fetch history of all rides taken by a rider.
  • End the Trip

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Ruby 99.3%
  • HTML 0.7%