Skip to content

benelan/arcgis-token-socket

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

backendToken

Creating An ArcGIS Token with Node

DISCLAIMER: I am not a security expert, and this is not secure. This sample is meant as a starting place for your application. Use as is at your own risk.

Prerequisites

Change the username/password in the server.js file. Change the secured service url in the map.html file too.

To run the web app you must have Node installed. With Node installed, navigate to the root folder of the app and type:

npm install
node server.js

Open a modern browser and go to http://localhost:8001/

Built With