Skip to content

Latest commit

 

History

History
34 lines (19 loc) · 588 Bytes

README.md

File metadata and controls

34 lines (19 loc) · 588 Bytes

fuber-api

Backend for the fuber app

Prerequisites

You will need Leiningen 2.0 or above installed.

Installation

Running

To start a web server for the application, run:

lein run

To test the apis type this in you browser:

To book a cab

http://localhost:3000/api/fuber/book-cab/4/5/7/true

To start a trip

http://localhost:3000/api/fuber/start-trip/4/5/7

To end a trip

http://localhost:3000/api/fuber/end-trip/4/5/7

Testing

To run the tests of the project, simply do:

lein test