Creating an app with SAP Build Apps to fetch user details from the GitHub API is a straightforward process. This blog will guide you through the prerequisites and step-by-step instructions to build your app within 5 minutes.
Prerequisites
Before you start, ensure you have the following:
SAP Build Apps Subscription: You need a subscription to SAP Build Apps in the SAP Business Technology Platform (BTP). You can also use the Trial Account with limited capabilitiesSAP Cloud Identity Services : you need a activate SAP Cloud Identity Services to get access to SAP Build Apps.. you can use BTP Trial Account as well.Role Assignment : you need to assign all the required Build Apps role collections to your userGitHub Account: A GitHub account to access the GitHub API.Basic Knowledge: Familiarity with SAP Build Apps and REST APIs.SAP Build Apps Mobile App : Install app from your Mobile in Android Play store or Apple App store
Step-by-Step Instructions
Set Up Your SAP Build Apps Environment:
Log in to your SAP BTP account.Go to Instances & Subscriptions – Navigate to SAP Build Apps and Login with SAP IAS (Cloud Identity Services)Successful login will navigate to SAP Build LobbyCreate a new project or download & upload the mtar from the repo
Configure the GitHub API in Build Apps Integration:
In your project, go to the “Integrations” tab section.Add a new Universal REST API integration.Enter the GitHub API endpoint: https://api.github.com/users/{username}
Design the User Interface:
Use the drag-and-drop interface to design your app.Add input fields for the GitHub username and a button to fetch user details.Display the fetched user details in a suitable format (e.g., text fields, labels).
Test and Preview:
Preview your app to test the functionality.Make any necessary adjustments.
Deploy to SAP BTP Cloud Foundry SAP Build Workzone Standard Edition:
Make minor adjustment in SAP IAS – Application & Resources – Select SAP Build Apps (trial) – Dependencies – Add DependenciesDependency NameApplicationAPI Namesap-build-apps-apiSAP Build Apps (trial)SAP Build Apps backend projectsDeploy your app to SAP BTP or export it for other deployment options.
Conclusion
By following these steps, you can quickly develop an app using SAP Build Apps to fetch and display user details from the GitHub API. This process leverages the low-code capabilities of SAP Build Apps, making it accessible even for those with minimal coding experience.
Happy building!
Github repo for MTAR : https://github.com/yogananda-muthaiah/SAPBuildApps-GithubAPI
Creating an app with SAP Build Apps to fetch user details from the GitHub API is a straightforward process. This blog will guide you through the prerequisites and step-by-step instructions to build your app within 5 minutes.PrerequisitesBefore you start, ensure you have the following:SAP Build Apps Subscription: You need a subscription to SAP Build Apps in the SAP Business Technology Platform (BTP). You can also use the Trial Account with limited capabilitiesSAP Cloud Identity Services : you need a activate SAP Cloud Identity Services to get access to SAP Build Apps.. you can use BTP Trial Account as well.Role Assignment : you need to assign all the required Build Apps role collections to your userGitHub Account: A GitHub account to access the GitHub API.Basic Knowledge: Familiarity with SAP Build Apps and REST APIs.SAP Build Apps Mobile App : Install app from your Mobile in Android Play store or Apple App store Step-by-Step InstructionsSet Up Your SAP Build Apps Environment:Log in to your SAP BTP account.Go to Instances & Subscriptions – Navigate to SAP Build Apps and Login with SAP IAS (Cloud Identity Services)Successful login will navigate to SAP Build LobbyCreate a new project or download & upload the mtar from the repoConfigure the GitHub API in Build Apps Integration:In your project, go to the “Integrations” tab section.Add a new Universal REST API integration.Enter the GitHub API endpoint: https://api.github.com/users/{username}Design the User Interface:Use the drag-and-drop interface to design your app.Add input fields for the GitHub username and a button to fetch user details.Display the fetched user details in a suitable format (e.g., text fields, labels).Test and Preview:Preview your app to test the functionality.Make any necessary adjustments.Deploy to SAP BTP Cloud Foundry SAP Build Workzone Standard Edition:Make minor adjustment in SAP IAS – Application & Resources – Select SAP Build Apps (trial) – Dependencies – Add DependenciesDependency NameApplicationAPI Namesap-build-apps-apiSAP Build Apps (trial)SAP Build Apps backend projectsDeploy your app to SAP BTP or export it for other deployment options. ConclusionBy following these steps, you can quickly develop an app using SAP Build Apps to fetch and display user details from the GitHub API. This process leverages the low-code capabilities of SAP Build Apps, making it accessible even for those with minimal coding experience.Happy building! Github repo for MTAR : https://github.com/yogananda-muthaiah/SAPBuildApps-GithubAPI Read More Technology Blogs by SAP articles
#SAP
#SAPTechnologyblog