Skip to content

AsylumAdvice/app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

62 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Master Build


Logo

https://asylumadvice.github.io/app

Asylum Advice – Easy Access to Legal Advice

Asylum Advice helps asylum seekers find the information that is relevant to their asylum procedure: finding advisors and lawyers.

Contributing

Follow the official ReactJS tutorial to get started.

Installation

  1. Clone the app

    git clone https://github.com/AsylumAdvice/app.git
  2. Install NPM packages

    cd app
    npm install
  3. Build the project

    npm start

Mapbox Token

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.

License

Distributed under the Apache License 2.0. See LICENSE for more information.

Contact

Website: https://asylumadvice.org

Slack: https://asylumadvice.slack.com