In this article we will see the solution of the module: Develop A Heroku App That Integrates With Salesforce
#1.Install the Dreamhouse App and Create a Heroku Button
Dreamhouse is a web app that allows you to quickly create an interactive floorplan for your house. The app uses Google Maps to automatically place your house on the map and allow you to move around and interact with the map. It’s a great way to add some interactivity to your site. You can create a dream house for yourself or for others, like a realtor, who would love it. It’s also a great way to show off your coding skills.
How to make a Heroku Button?
A Heroku Button is a way to quickly deploy your app to Heroku. It’s an easy way for you to make your app available to the world. You can make one in just a few minutes. It’s super simple and free. # How To Make A Map With Google Maps And GeoJSON? Google Maps are great but they do not allow you to easily download maps as GeoJSON data.
#2.Create Your Heroku App
Heroku is a cloud application platform. A Heroku app provides a set of one or more web applications and services, which are available at a unique URL. Heroku apps can be deployed to run in the cloud or on-premises. This article will help you to create your own Heroku app with the help of stepwise instructions. You will learn how to configure your Heroku account, define the application and add add-ons to interact with external services like Amazon Web Services or Salesforce. It’s quite simple, just follow the steps mentioned below.
1. Sign up for Heroku account
Sign up for a free Heroku account and add your credit card details to start using it. To sign up, click here. Once you have created an account, you will be redirected to the dashboard. Click on “Apps” from the top menu bar to access your app management console. It is the main point of entry for managing all your apps and add-ons in one place.
2. Add your application name Next, you need to give a name to your application. The name will be used in the URL for your application.
3. Add git repository
Add your git repository from GitHub or Bitbucket or any other source control provider of your choice and Heroku will clone it to create an instance of your application. For example, if you have added a git repository named myapp in Bitbucket then Heroku will clone it as follows:
4. Add add-ons
5. Push your code to Heroku
6. Setup Postgresql database
7. Setup Heroku remote add-on
8. Run the application locally and push it to Heroku
9. Configure Salesforce Integration
#3.Set Up Heroku Connect
Heroku Connect is a tool that makes data and content available to Heroku applications. It enables data and content updates to be persisted to a database such as Postgres, or to a cloud storage service. The changes will then be reflected in your application on the next request. It’s not just one of those add-on services you buy but never use. Heroku Connect is a feature of the Heroku platform that can be used by any application deployed to Heroku, regardless of whether it was built by Heroku’s team, or by you.
#4.Set Up Heroku Pipelines and Heroku Flow
Heroku is a cloud platform that allows you to build, run, and scale modern web applications. Heroku provides a lot of services like add-ons for billing and deployment, but the real magic happens when combined with Git and other tools. In this article, we’ll discuss an example of how to use Heroku pipelines with GitHub, as well as how to use Heroku Flow for continuous delivery.
#5.Configure the Production Environment
We will install Java, Gradle, and Git on the server to be able to compile and generate the application during the installation process. We are going to use Vagrant to configure a virtual machine on your computer. The machine will be used as a development environment.
Get more information