Skip to content

Decentralized implementation of Cab Service which involves peer-to-peer networking and blockchain

License

Notifications You must be signed in to change notification settings

amitabh27/Cabchain

Repository files navigation

Cabchain

Decentralized implementation of Cab Service which involves peer-to-peer networking and blockchain.

Technology Stack

  • Node JS
  • React Native
  • Mongo DB
  • Android
  • Blockchain Network

Platforms Used

Architecture

architecture

Working of Apps : User and Driver app

Customer App Driver App

APIs available

  • serverauth.herokuapp.com
    • /aadhaar/:number/:name/:gender/:dob/:address
    • /vahaan/:number/:chassis/:enginenumber
  • cabchain.herokuapp.com Link to Code
    • /register
    • /login
    • /fareupdate
    • /contact
    • /details
    • /register
    • /login
    • /logout
    • /userredirection-pickup/:ridetrackingno
    • /userredirection-finish/:ridetrackingno
    • /updatedriverratings/:driverno/:overallrating/:behaviour/:drivingskills/:timelypickupdrop/:conditionofvehicle
    • /updateuserratings/:userno/:overallrating/:behaviour/:ridetrackingno
    • /matchotp/:ridetrackingno/:otp
    • /suggestionstousers/:ridetrackingno/:sortby/:ridetype
    • /ridereject/:ridetrackingno/:driverno
    • /rideaccept/:ridetrackingno/:driverno
    • /driverquote/:driver/:ridetrackingno/:quote
    • /newrequests-driversuggestion/:phone
    • /riderequestplaced/:userid/:ridetrackingno/:addressSP/:addressEP/:gpsSP/:gpsEP/:fare/:distance/:otp
    • /getdriverlocations
    • /promotionalsms/:name/:phone/:receiverphone
    • /previousrides/:mobile
    • /driver-location/:mobile
    • /driver-previousrides/:mobile
    • /getUsername/:phone
    • /ratecard/:city
    • /userOTPLogin/:phone/:otp
    • /useradd/:phone/:email/:name
    • /userlogin/:phone
    • /userratings/:phone
    • /driverratings/:phone
    • /driverlogin/:phone
    • /fare-computation-government-rates/:src/:dest
    • /olafare/:src/:dest/:type
    • /otpgeneration
    • /support/:email/:name/:query
    • /rideotp/:requestID
    • /sendinvoice/:requestID
    • /smsinvoice/:requestID
  • ngrok.io
    • /api/driver/driverid
    • /api/Ride
    • /api/user/