Starting from:

$25

WEB322-Assignment 1 Solved

This first assignment will get you setup with your environment, tooling, and a Heroku account as well as introduce you to the development workflow used in this course (Visual Studio Code + Git + Heroku).

Specification:
For this assignment, we will be publishing our first web app on Heroku.  

 

Step 1: Installing Software
In order to create web applications and publish them online, you will need to download and install the following software.

·        Visual Studio Code

·        Node.js

·        Git

·        Heroku CLI (Command Line Interface)

 

Step 2: Following the Guide
The next step involves following along with the "Getting Started With Heroku" Guide available on the course website.  You may skip the "Required Software" section, however if you need help verifying that the required software is installed correctly this section provides some additional information.

 

 

 

 

 

 

 

 

 Step 3: Customizing the server code (server.js)
Once you have completed the guide (Step 2), and have a simple "Hello World" app running on Heroku, you must personalize the output:

·        Instead of "Hello World" – change your app to output your full name and student number, for example "Mohammad Shamas - 037465064"

·        HINT: If you make any changes to your server.js file after publishing to Heroku, you will have to:

o   Commit your changes to your local git repo using the following procedure:

§  Click on the Source Control Icon in the sidebar that has a "1" on it in Visual Studio Code

§  Enter a message (in the "Message" box) describing your change, ie "updated server.js"

§  Click the checkmark above the message box to commit your changes.

o   Push your changes to Heroku by issuing the command: " git push heroku master" from the Integrated Terminal in Visual Studio Code

More products