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:
- ESRI JS API, 2D Map Template: http://arcg.is/2nytHZt
- ESRI JS API, Layer Template: http://arcg.is/2nyNuIe
- ESRI AGOL, US Major Cities Layer: http://arcg.is/2nyyvht
- Heroku Node.js Tutorial: http://bit.ly/2nyFTJN
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
Heroku Documentation
For more information about using Node.js on Heroku, see these Dev Center articles: