Too Long; Didn't Read
How To Connect Ruby on Ruby on Rails API, Postgres And Heroku? Read this article by Ermin Cahtarevic. Create a new Ruby app with Postgresql as the database for your API. Use the Heroku API to deploy your app to Heroku platform. Use Heroku to create a GitHub repository for your app and create a new Heroku app. Use GitHub to store your code and store it on your GitHub repository. Run the following commands in your terminal to deploy the Ruby on rails API. The API is now live and Heroku is deployed.