Heroku Deployment

Heroku Deployment

Assessment

Interactive Video

•

Information Technology (IT), Architecture

•

University

•

Practice Problem

•

Hard

Created by

Wayground Content

FREE Resource

The video tutorial guides viewers through deploying a task manager app to production using Heroku and GitHub. It begins with setting up a clean workspace and initializing a Git repository. The instructor then demonstrates creating a GitHub repository and pushing the code. The tutorial continues with deploying the app to Heroku, setting necessary environment variables, and testing the deployment using Postman and MongoDB Compass. The video concludes with a brief introduction to the next section on automated testing.

Read more

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the first step in preparing the task manager app for deployment?

Creating a new Heroku application

Cleaning up the workspace and initializing a Git repository

Pushing code to GitHub

Setting up environment variables

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Why is it important to ignore the 'node_modules' and 'config' directories in the Git repository?

To make the repository public

To prevent sensitive information from being exposed

To reduce the size of the repository

To ensure faster deployment

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a new feature of GitHub's free plan mentioned in the video?

Unlimited collaborators

Priority support

Private repositories

Increased storage space

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What command is used to create a new Heroku application?

heroku new

heroku start

heroku create

heroku init

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which environment variable is NOT set manually for the Heroku app?

MONGODB_URL

SENDGRID_API_KEY

JWT_SECRET

PORT

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What tool is used to verify the deployment of the task manager API?

MongoDB Compass

GitHub

Postman

Visual Studio Code

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What response indicates that the task manager API is running correctly in production?

Error 404

Server not found

Connection refused

Please authenticate

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?