https://asylumadvice.github.io/app
Asylum Advice helps asylum seekers find the information that is relevant to their asylum procedure: finding advisors and lawyers.
Follow the official ReactJS tutorial to get started.
-
Clone the app
git clone https://github.com/AsylumAdvice/app.git
-
Install NPM packages
cd app npm install
-
Build the project
npm start
To render the map and to use the geocoding funtion, you will need a local Mabpox API token.
If you don't have an account already, create one at Mapbox. You can use the free plan. Once your account is set up, create a token from your account settings by selecting "Create token". You may use your default token, or create a new one specifically for this project.
Next, you need to set REACT_APP_MAPBOX_ACCESS_TOKEN
. In the project root create a dotfile called .env.local
and add your token. For example:
REACT_APP_MAPBOX_TOKEN="pk.hgibweHyedpNdpedh"
You should now be good to go.
Distributed under the Apache License 2.0. See LICENSE
for more information.
Website: https://asylumadvice.org