woozyking / react-maps

A collection of React maps for Atom and Locus.

Home Page:https://60f06c1c5a1772003b824d76-lctjsbgytz.chromatic.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

A collection of React maps for Atom and Locus.

https://60f06c1c5a1772003b824d76-lctjsbgytz.chromatic.com/


Languages

Language:JavaScript 99.9%Language:HTML 0.1%Language:Shell 0.0%