From the course: The Freelance Stack: Real Project with Next.js and Strapi

Unlock this course with a free trial

Join today to access over 25,200 courses taught by industry experts.

Deploy Strapi server to Heroku

Deploy Strapi server to Heroku

The first thing we're going to do is get our whole codebase onto a Heroku server. So this codebase is making up all of our Strapi API endpoints, the content types, all of that. And then later we're going to start looking at the database and the uploads folder. Now for this, when you Google this, you're going to find quite a few guides that tell you how to deploy Strapi to Heroku. When you go to the documentation page, you already see they have a caution banner here basically tells you that they're trying to keep up to date with the deployment guides for the different hosting platforms as well as their different version numbers but they can generally be out of date and if so you can open an issue and so on and so forth. So usually what happens with this unfortunately is you have to tinker around with it quite a bit. So I'm going to show you what works for me right now. If you do have any problems with deployment please let me know in the question section and I'll try to help you out…

Contents