Skip to content

wesseljt/trolley-tracker-api

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

trolley-tracker-api

###Currently deployed on Digital Ocean

###http://104.131.44.166/

###Clojure / Postgres / Nginx

#Authentication ##Roles

Admin

  • Adds account (POST /api/v1/account)
  • Updates account (POST /api/v1/account/:id)
  • Reads account (GET /api/v1/account/:id)

Vehicle

  • Adds location (POST /api/v1/trolly/:id/location)

App

  • Reads location (GET /api/v1/trolly/:id/location)

Trolley

  • Gets status of all trollies (GET /api/v1/trollies)
  • Gets stops for a single trolley (GET /api/v1/trollies/:id/stops)

Test Credentials (basic auth)

  • brigade / brigade

##Find The Fake Trolly: curl -u brigade:brigade http://104.131.44.166/api/v1/trolly/1/location

##Coming soon:

  • websockets?

About

api for tracking greenville's trolleys

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Clojure 100.0%