This is an example of a spring-boot application with JPA and Angular which works on SAP's HCP platform. If the server is running, you can find a demo here
Backend:
- Spring-Boot
- Local embedded profile w/o external dependencies for fast development
- Production profile with script-based hot-update functionality
- JPA (w/ Hibernate) using HANA as the database
- RESTful API
- API documentation with swagger
Frontend:
- AngularJS and Bootstrap
- I18N
- Using
$resource
- Animations
Build the deployable .war-file with
mvn -P production clean package
If you configure your server in the HCP frontend, do not forget to set
-Dspring.profiles.active=production
otherwise no database connection can be established.
Start local development by simply executing com.mlesniak.sap.playground.Main
.
- Better documentation of initial and continous deployment; see scripts/update-production.sh for an example