RESTful CRUD application to manage Locations. This application has the following features:
- Maven
- Spring MVC
- Hibernate
- HSQLDB
- JSON
- HTML
- CSS
- Bootstrap
- Javascript
- JQuery
- AJAX
- Google Maps API
P.S.: The application uses Hibernate for persistence, but to make the deployment process painless, the application is currently configured to save data in memory. If you prefer you can make HQSLDB save data in file or even change the database.
If you want to see the application running, click here.
curl -X GET 'http://restcrud-samuelportela.1d35.starter-us-east-1.openshiftapps.com/restcrud/location/api/list'
curl -X POST 'http://restcrud-samuelportela.1d35.starter-us-east-1.openshiftapps.com/restcrud/location/api/save' --data 'name=Shopping&latitude=-3.794692&longitude=-38.479832'
curl -X GET 'http://restcrud-samuelportela.1d35.starter-us-east-1.openshiftapps.com/restcrud/location/api/get/1'
curl -X POST 'http://restcrud-samuelportela.1d35.starter-us-east-1.openshiftapps.com/restcrud/location/api/save' --data 'name=Shopping&latitude=-3.741075&longitude=-38.471299&id=1'
curl -X DELETE 'http://restcrud-samuelportela.1d35.starter-us-east-1.openshiftapps.com/restcrud/location/api/delete/1'
mvn package