Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/benelan/arcgis-token-socket

Creating An ArcGIS Token with Node
https://github.com/benelan/arcgis-token-socket

arcgis esri express node socket-io

Last synced: about 23 hours ago
JSON representation

Creating An ArcGIS Token with Node

Awesome Lists containing this project

README

        

# 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](https://nodejs.org/en/) 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
* [Node](https://nodejs.org/en/)
* [Express](https://expressjs.com/)
* [Socket.io](https://socket.io/)
* [Helmet](https://helmetjs.github.io)
* [Request](https://github.com/request/request)