/react-maps

A collection of React maps for Atom and Locus.

Primary LanguageJavaScript

react-maps

A React map component library for ATOM and Locus. More info soon.

Setup

  1. yarn - (Recommended Version: 1.22) for dependency management

    • Install yarn (mac):
      • Open Command Line
      • Via Homebrew:
        brew install yarn
        
      • Via MacPorts:
        sudo port install yarn
        
      • Via Installation Script (zsh):
        curl -o- -L https://yarnpkg.com/install.sh | bash
        ```git
        
        curl -o- -L https://yarnpkg.com/install.sh | bash -s -- --version [version]
    • Install yarn (Windows):
      • Via Chocolatey:
        choco install yarn
        
      • Via Scoop:
        scoop install yarn
        
    • To Install yarn on other Operating Systems or different options, please navigate here
  2. Environment variables:

    Here is the sample of .env

    MAPBOX_ACCESS_TOKEN=
    API_HOST=
    API_STAGE=
    KEY_WARDEN_HOST=<keywarden api>
    KEY_WARDEN_STAGE=
    JWT=
    
  3. Storybook:

    Use yarn && yarn storybook to run react-map component on storybook.