Add a replica of your Exercise model to the backend Spring app. Create a POST route that allows creating a new Exercise, and a GET route that responds with all Exercises currently in the database. Test these routes with Postman, deploy, and ensure there’s at least one Exercise in your deployed db.
http://health-tracker-backend.herokuapp.com/exercises
- GET: returns json of exercises
- POST: must include a title, quantity, description, latitude and longitude params