Plot Cloud computing providers on the map using MapBox.
Rewritten using express from https://github.com/rbiesser/cloud-providers-azure-razor-pages
npm install
Run on http://localhost:5000
npm run dev
Rename .env.example to .env and edit the values
If the public API URL is https://api.openweathermap.org/data/2.5/weather?q={city}&appid={APIkey}
- API_BASE_URL = "https://api.openweathermap.org/data/2.5/weather"
- API_KEY_NAME = "appid"
- API_KEY_VALUE = "YOUR API KEY"
You can add on any other query params as needed when hitting the /api endpoint such as https://yourdomain/api?q=detroit without having to add your key in the client
- Add new routes as you see fit
- Change rate limiting and caching to desired values
This project is forked from this YouTube tutorial
- Mapbox GL JS API Reference
- How Mapbox works, web applications
- Their documentation doesn't describe the functions very well, so use the Help page for descriptions and then the API Reference for details.
GeoJSON.js converts latitude and longitude to GeoJSON. https://www.npmjs.com/package/geojson