Skip to content

earth-mover/flux-web-demos

Repository files navigation

Earthmover Flux Web Demos

A showcase for using Earthmover's Flux APIs to drive web applications, built with React and Mapbox

Running Locally

Install the dependencies

bun install

Environment Variables

Before running or building, this app requires that you have a mapbox access token defined in .env or .env.local:

VITE_MAPBOX_ACCESS_TOKEN=pk.my-token

Run locally

bun run dev

Deploying the App

This app builds into a single page application. It can be built with vite:

bun run build

Once complete, the full website will be output into the dist/ directory. You can simply serve this folder however you choose to run the compiled web application.

License

This project is licensed under the Apache License 2.0.