Skip to content
This repository has been archived by the owner on Sep 29, 2021. It is now read-only.

Latest commit

 

History

History
52 lines (29 loc) · 2.91 KB

README.md

File metadata and controls

52 lines (29 loc) · 2.91 KB

Important Notice

This public repository is read-only and no longer maintained. For the latest sample code repositories, visit the SAP Samples organization.

AngularJS sample in HCP

What is it?

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.

How to run it?

Pre-requisites:
  • 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.
Step 1: Copy the application code into your HCP trial account
  • 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 as angularnorthwindapp and Version Name as 1.0.
  • Activate this version of the application.
Step 2: Configure the Northwind OData service destination in the HCP cockpit
Step 3: Launch the application

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.

Editing the application

You can edit this appplication by cloning the Git repository into the SAP Web IDE. Refer to the SCN blog for details.