REST server that feeds the mobile-ui
Find a file
Bart Akeley bcb7699a7e quantity endpoint
inserts a new quantity into the quantities table and returns what it created - timestamp is generated at the SQL level
2017-11-26 19:46:55 -06:00
scripts quantity endpoint 2017-11-26 19:46:55 -06:00
src/aretherecookies quantity endpoint 2017-11-26 19:46:55 -06:00
test/aretherecookies support ordering and filtering from request body 2017-11-05 13:35:30 -06:00
.gitignore move db config out of code 2017-10-29 11:46:36 -05:00
Procfile move app config to separate module with main 2017-10-30 20:34:16 -05:00
project.clj support ordering and filtering from request body 2017-11-05 13:35:30 -06:00
README.md quantity endpoint 2017-11-26 19:46:55 -06:00
sample-food-item-post.json quantity endpoint 2017-11-26 19:46:55 -06:00
sample-quantity-post.json quantity endpoint 2017-11-26 19:46:55 -06:00

aretherecookies

the server that knows where the cookies are

Prerequisites

You will need Leiningen 2.0.0 or above installed.

Running

To start a web server for the application, run:

lein ring server-headless

To test a request/response, run:

curl --data @sample-food-item-post.json --header "Content-Type: application/json" http://localhost:3000/fooditems

curl --data @sample-quantity-post.json --header "Content-Type: application/json" http://localhost:3000/quantity