🗺️ The Importance of Vegetation for Cities Story Map
This repository contains the source code for the The Importance of Vegetation for Cities story map.
Checkout also the overall technical blog post we published if you want to get more context.
🧱 Overall structure of the code
We are following a classical React App structure.
assets
: images, icons, etc.components
: JSX components of the applayers
: where the actual juice is. With each slide/visualization on a separate file
🏃🏽♀️ How to run it
Checkout the code and...
Install all dependencies with:
yarn
Specify your Google Maps API Key to use. You can get a Google Maps API Key on the GCP console. Remember to authorize localhost to it. You will need to update .env file with your API key.
yarn start
will start the server on localhost:8080
How to build it
yarn build
Then deploy the files in the dist
folder to a web server of your choice.
💬 issues/comments/whatever?
You can contact CARTO always at contact@carto.com, but we also hangout on the CARTO Users community Slack server: