Compile:
mvn clean install
Run in localhost
foreman s
Call some endpoint:
- Receive an hello message
localhost:5000/api/hello
-Buy a product
Make a POST request to localhost/api/buy with a json object like:
{"username" : "username", "password" : "password", "product" : "product"}
- Deploy in heroku:
git push heroku master
The application endpoints are implemented in the following package :
- src/main/java/com.sirs.mobilecashserver.rest