The swingheil-rest-api is a RESTful API server for the SwingHeil Andoird app (swingheil-android-app) and iOS app (swingheil-ios-app). It provides swing dance related Info in JSON format. It requires swingheil-service library.
Check the API Server running on Heroku https://swingheil-rest.herokuapp.com. It may take a few minutes to start up the server, because it uses free tier of Heroku.
The SwingHeil REST API project requires swingheil-service project.
SwingHeil uses Heroku as PaaS, add JawsDB MySQL add-ons. It uses the same DB with Web Server for Admin.
Heroku Dashboard > Settings > Config Vars
- JAVA_OPTS : -Dspring.profiles.active=dev
- SWINGHEIL_DB_CONNECTION_STRING : jdbc:log4jdbc:mysql://DOMAIN_FROM_JAWSDB:3306/DATABASE_NAME_FROM_JAWSDB?verifyServerCertificate=false&useSSL=false&requireSSL=false
- SWINGHEIL_DB_USERNAME : the username from JawsDB Dashboard
- SWINGHEIL_DB_PASSWORD : the password from JawsDB Dashboard
Heroku Dashboard > Deploy > App connected to Github : connect the github project.
Manual deploy : push the Deploy Branch button
- Spring Boot, JPA, Java 8, Java EE, Hibernate, gradle, yml, Heroku, MySQL
- initial setup springboot project
- setup MySQL DB
- add event CRUD RESTFul API
- upload RESTFul API server to Heroku
- add Swagger UI for API Documentation
- add member feature
- add login feature
- add security feature
The swingheil-rest-api is licensed under the terms of the GPL Open Source license and is available for free.