- five-elephant: Play scala application. Defines
Five Elephantcoffee shop API. - the-barn: Play scala application. Defines
The Barncoffee shop API. - starbucks: Play scala application. Defines
starbucks- maybe a - coffee shop API. - core: Shareable library between API applications above.
Launch Five Elephant application. Listening for HTTP on localhost:9001:
$ sbt c-five-elephant/runLaunch The Barn application. Listening for HTTP on localhost:9002:
$ sbt c-the-barn/runLaunch Starbucks application. Listening for HTTP on localhost:9003:
$ sbt c-starbucks/runTo access the APIs:
$ curl http://localhost:9001/coffee-shop/cappuccino
Enjoy your fancy Cappuccino! Made by Five Elephant.
$ curl http://localhost:9002/coffee-shop/cappuccino
Enjoy your fancy Cappuccino! Made by The Barn.
$ curl http://localhost:9003/coffee-shop/cappuccino
Good luck with your Cappuccino! Made by Starbucks.