Skip to content

anandaroop/moved

Repository files navigation

Moved

A change-of-address announcement that allowed me to experiment with:

  • Mapbox GL JS
  • keyframe animations
  • await/async
  • Cypress tests

Development

0. Get a token

In order to hack on this you will need a Mapbox access token

1. Clone the repo

git clone https://github.com/anandaroop/moved.git
cd moved

2. Configure the app with some secrets

Such as the Mapbox access token you obtained in Step 0.

cp src/config.example.js src/config.js 
# replace settings as necessary

3. Install dependencies

yarn install # or npm install

4. Start the create-react-app server

yarn start
open http://localhost:3000/

5. Run the Cypress spec

yarn run cypress open
# then click on simple_spec.js

6. Start the Storybook server

yarn run storybook
open http://localhost:9009/

Storybook is probably the easiest place to develop

About

An animated map using Mapbox GL JS

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published