This article will teach you how to deploy Strapi to Heroku with Postgres as the database client in detail.

As a popular headless CMS, Strapi is a great backend choice for creating web apps such as a blog website. It’s better to host it online once you figured out how it works. Now let’s see how are we gonna achieve that.

1. To begin with, create a Strapi app

You need to have the Strapi code ready on your local machine. It’s always easier to start with a template. You can look it up in the official repo of Strapi here: https://github.com/strapi. Let’s say I want to…

Teng Zhang

Frontend Web Developer | Looking for new opportunities

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store