walteryu / e8-hw9

HES E8, HW9 - ESRI JS API + Heroku + Node.js Application

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

HES E8, Spring 2017 HW9: Node.js Web App

Node.js web app using the ESRI JS API and as follows:

  • Live URL: https://e8-hw9.herokuapp.com/map
  • Shows ESRI AGOL major US cities and freeway layers
  • Developed using Node.js and Express web frameworks
  • ESRI and Heroku templates used as referenced below

Details about the map and feature layers:

  • Map is centered on San Francisco, CA
  • City/freeway layers are added with FeatureLayer()

References:

Web app was developed using these templates/tutorials:

Heroku Node.js Tutorial Instructions

A barebones Node.js app using Express 4.

This application supports the Getting Started with Node on Heroku article - check it out.

Running Locally

Make sure you have Node.js and the Heroku Toolbelt installed.

$ git clone git@github.com:heroku/node-js-getting-started.git # or clone your own fork
$ cd node-js-getting-started
$ npm install
$ npm start

Your app should now be running on localhost:5000.

Deploying to Heroku

$ heroku create
$ git push heroku master
$ heroku open

or

Deploy to Heroku

Heroku Documentation

For more information about using Node.js on Heroku, see these Dev Center articles:

About

HES E8, HW9 - ESRI JS API + Heroku + Node.js Application


Languages

Language:HTML 92.0%Language:CSS 4.2%Language:JavaScript 3.9%