Giter VIP home page Giter VIP logo

unclegurucabs's Introduction

UncleGuruCabs

Uncle Guru Cabs Pvt.Ltd.

RIDE AND REQUEST TO BE CREATED!!!!

List of Packages:

Driver for the program's JDBC:

  • mysql-connector-java-8.0.18.jar

1 Users:

  1. Abstarct User Class 
  • Public Customer Class -> User Class 
    • Wallet Class - For Customer Class 
      • InadequateWalletBalanceException 
    • BankAccount Class - For Customer Class 
      • InadequateBankBalanceException 
      • InvalidPINException 
  • Public Driver Class -> User Class 

2 Location:

  • Abstarct Location Class 
  • Public CustomerLocation Class -> User Class 
  • Public DriverLocation Class -> User Class 
  • Random Location Generator Class 

3 DatabaseConnection:

  • DatabaseConnection Class 
  • Required Databases 
    • Places Location - Pk, Place Name, X coordinate, Y coordinate 
      • (100, 380) - BPHC 
      • (154, 323) - Alankritha 
      • (421, 206) - Paradise 
      • (457, 89) - Airport 
      • (266, 141) - Barbeque Nation 
      • (266, 200) - INOX GVK One 
      • (80, 80) - Secunderabad Station 
      • (400, 400) - Hussain Sagar 
    • BankAccount - Pk, Balance, Pin 
    • Cab - Pk, Cab Number, Cab Type, Cab Charge 
    • Customer - Pk, Username, UniqueId EmailID, PhoneNumber, Password, walletBalance, Pk(BankAccount) 
    • Driver - Pk, Username, UniqueId, EmailID, PhoneNumber, Password, walletBalance, Pk(Cab) 
    • Request - Pk, TimeStamp, Customer, Source[Pk(Places Location)], Time(Sorted), Destination[Pk(Places Location)], Satsfied 
      • Synchronized - Driver is Shared Resource 
    • Ride - Pk, Customer, Driver, Source[Pk(Places Location)], Destination[Pk(Places Location)], Duration 

4 Utilities:

  • Utilities Class 
    • Random Wallet and Bank Balance Generators 

I Necessary Things to be implemented:

  • HashMap for the storing locations with the coordinates 
  • Random Location allocation for Customer 
  • Random Location allocation for Drivers 
  • Random Reallocation of Driver Locations 
  • Database Tables for Customer, Driver, Location, Wallet, Ride, Bank Acc, Cab 

II Necessary Checks to be implemented:

  • pin : BankAccount - 4 digit number 
  • rating : Driver - b/w 0 and 5 
  • cabNumber : Cab - Vehicle Number Regex, Unique 
  • In general - make constructor accept objects 

PROBLEMS:

  • Multiple logins

new String[] { "BPHC", "Alankritha Resort", "Barbeque Nation", "Inox GVK One", "Paradise Hotel", "Secunderabad Station", "Rajiv Gandhi International Airport" })

unclegurucabs's People

Contributors

karthikrangasai avatar pranavgrandhi avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.