danielbrumusescu / spring-boot-sap

Playground project for spring-boot and SAP HCP (Hana Cloud Platform)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Introduction

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

Features:

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

Initial deployment

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.

Local development

Start local development by simply executing com.mlesniak.sap.playground.Main.

TODOs

  • Better documentation of initial and continous deployment; see scripts/update-production.sh for an example

About

Playground project for spring-boot and SAP HCP (Hana Cloud Platform)


Languages

Language:JavaScript 96.4%Language:CSS 3.0%Language:Java 0.3%Language:HTML 0.3%Language:Shell 0.0%