aretherecookies-server/README.md
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

550 B

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