Search Header Logo
Next.js from Development to Deployment - Strapi Backend Deploy - Heroku

Next.js from Development to Deployment - Strapi Backend Deploy - Heroku

Assessment

Interactive Video

•

Information Technology (IT), Architecture

•

University

•

Practice Problem

•

Hard

Created by

Wayground Content

FREE Resource

This video tutorial guides viewers through deploying a Strapi CMS to Heroku, a cloud hosting provider. It covers setting up the Heroku CLI, configuring git, creating a Heroku project, and setting up a Postgres database. The tutorial also explains how to manage environment variables and finalize the deployment process, including setting up Cloudinary for image uploads. The video emphasizes the importance of understanding the production environment and re-adding data like users and events.

Read more

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the primary purpose of using Heroku for deploying the Strapi CMS?

To host static websites

To develop mobile applications

To use a platform as a service for easy deployment

To manually configure web servers

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which command is used to install the Heroku CLI on a Mac?

brew install heroku

choco install heroku

apt-get install heroku

snap install heroku

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the first step in setting up a new Heroku project?

Configuring environment variables

Installing PostgreSQL

Creating a new Git repository

Running 'Heroku create'

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Why is it important to add 'package-lock.json' to '.gitignore' when deploying to Heroku?

It contains sensitive information

It can cause deployment issues

It is not needed for production

It increases deployment time

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which Heroku add-on is used to set up a PostgreSQL database?

Heroku Scheduler

Heroku Postgres

Heroku Connect

Heroku Redis

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of the 'ENV' folder in the Strapi backend?

To manage environment-specific configurations

To save logs

To store static files

To hold user data

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which command is used to push changes to Heroku?

git push heroku master

git push origin main

git push heroku head main

git push heroku main

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?