Our application is supported by the node.js server deployed & hosted on the SAP Business technology platform as a MTA application in the cloud foundary environment.
I've used the BTP trial account to deploy the server. The codebase of the server can be found at this github repo
Overview :
You can sign-up to access the trial account of these APIs :
Index
Geocode
Forecast
mta.yaml
Note: make sure you have the mta.yaml file which is basically used to bundle the modules and deploy the app on the BTP
After successful deployment, you can test your service end-points using tools like Postman.
The AppGyver side of the app looks like as shown in the below screenshots.
This app consists of only one page, where the user can enter the location name, and on tap of a button, the weather details of that location are shown on that same page.
The landing page of the app:
Create Page and Data variables:
Page Variables:
Data Variables:
Bind UI elements with the variables which we created earlier:
Formula to bind with image element
The Flow Function that will run on tap of the button looks like below after adding all required functions
Flow Function config:
Your node server running on BTP is added as a Data resource at this point with the base url of the service.
Endpoints of the service are defined with query parameters.
Save all the changes to the application in the AppGyver and use the launch tab on the top to launch.
Follow the instructions on the page to launch the app on a mobile device or as a web app in your browser.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
4 | |
4 | |
3 | |
3 |