This application was created to explore Spray routing and Spring. This was an introduction to Spray and getting it work with Spring as well for DI. This approach was lifted from Eric Woods who in turn lifted it from Christopher Hunt's repository:
As of right now the app is mainly setup with the Spray routes and returning Mocked Data. I plan to go back and have it use Slick for CRUD operations to a DB.
I used Tacos as examples because everyone loves Tacos.
The project builds and deploys to an embedded Jetty server using the xsbt-web-plugin.
To start the application, cd to the spray-taco directory, start sbt
, and then execute >container:start
To import into Eclipse you must first open sbt
then execute >eclipse
. This builds the Eclipse project files.
You can import the Request Catalog to Postman. You can install Postman plugin to Chrome.