Heroku Lab – Objective: – Create a Github account



Heroku Lab – Objective: – Create a Github account

5 1


HerokuLab


On Github ChamplainCollegeCSI / HerokuLab

Heroku Lab

Objective:

Deploy a "Hello JSON" node.js application to Heroku from Github via Cloud9.

Create a Github account

You should already have one!

github.com

Sign into c9 via your Github account

Create a heroku.com account

How it works (Easy)

Tutorial

Github to C9 to Heroku

How it works (Advanced)

Tutorial

Github push to Heroku remote

Your Mission:

Return the json object via node.js hosted on Heroku.com. Submit your github repository url and your hosted heroku url via Canvas.

JSON:

{
"name" : "Al Ramirez",
"vacation" : {
	"places": ["45.64, -73.63","40.760, -73.973","32.750, -117.07"]
	}
}

hint: res.json not res.send