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 - Next.js Tutorial
From the course: The Freelance Stack: Real Project with Next.js and Strapi
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…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
-
-
-
-
-
-
-
-
(Locked)
Deployment overview6m 10s
-
(Locked)
Deploy Strapi server to Heroku13m 56s
-
(Locked)
Difference between production Strapi and local development2m 16s
-
(Locked)
Migrate local database from SQLite to Postgres to the production database16m 40s
-
(Locked)
Handle image uploads in production with AWS S320m 52s
-
(Locked)
Replace image paths in production db to use AWS S3 bucket images8m 37s
-
(Locked)
Deployment of Next.js frontend to Heroku7m 34s
-
(Locked)