An example project utilising Spark to create an API.
We have the following features:
- Get all products
- Add a new product
This means it is not a full CRUD application.
Those features translate into the following routes:
- GET
/products
- POST
/products
Check out the tests and the production code to see how it works.
Also, check out the branch implementing more endpoints for an example of adding more features to the basic API.