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: 8 months ago
JSON representation
Creating An ArcGIS Token with Node
- Host: GitHub
- URL: https://github.com/benelan/arcgis-token-socket
- Owner: benelan
- Created: 2019-10-23T15:57:54.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2022-12-11T10:34:09.000Z (over 3 years ago)
- Last Synced: 2024-04-19T06:45:27.793Z (about 2 years ago)
- Topics: arcgis, esri, express, node, socket-io
- Language: HTML
- Homepage:
- Size: 85 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
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)