This public repository is read-only and no longer maintained. For the latest sample code repositories, visit the SAP Samples organization.
This is a sample HTML5 application that demonstrates the ease of using JavaScript frameworks like AngularJS and Bootstrap for UI development in the SAP HANA Cloud Platform.
The application uses:
- Angular JS as the client side framework that helps in development of UI applications by providing MVC/MVVM features,data binding etc.
- The Northwind OData service as the back-end service for fetching data (of course any RESTful API can be used here, not necessarily an OData service).
- Bootstrap as the client side framework for styling the application.
- You should have an HCP developer(trial) account to execute the steps mentioned below.
- You should be familiar with basics of developing HTML5 applications,AngularJS and Bootstrap.
- Clone the repository or download the repository ZIP to your file system. If you download the repository as a ZIP file, unzip it.
- Within the repository folder, right click on the angularnorthwindapp folder and create an application archive named
angularnorthwindapp.zip
. - Import this archive as an HTML5 application into HCP - details.
During import, provide the Application Name asangularnorthwindapp
and Version Name as1.0
. - Activate this version of the application.
- Import the destination file available at angularnorthwindapp/destination/northwind into the HCP cockpit - details.
The deployed application would be accessible on the following URL:
https://angularnorthwindapp-pXXXXXtrial.dispatcher.hanatrial.ondemand.com
Note: Replace pXXXXX
with the SCN User ID that you provided during registration.
You can edit this appplication by cloning the Git repository into the SAP Web IDE. Refer to the SCN blog for details.