erisitohang / react-map

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

React Map

Getting started

  • yarn install

  • Copy file .env.example to .env

  • set REACT_APP_MAPBOX_ACCESS_TOKEN (Mapbox access token). To get a Mapbox token, you will need to register on their website.

  • set REACT_APP_API_URI

Development

In the project directory, you can run:

yarn start

Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.

The page will reload if you make edits.
You will also see any lint errors in the console.

yarn test

Launches the test runner in the interactive watch mode.
See the section about running tests for more information.

yarn build

Builds the app for production to the build folder.
It correctly bundles React in production mode and optimizes the build for the best performance.

About


Languages

Language:JavaScript 71.4%Language:HTML 15.6%Language:CSS 12.2%Language:Shell 0.8%