NYC Mesh map refactor, still lots to do but this what it is so far!
This app requires two processes:
- Express API server (proxied by Vite to
/api/*) - Vite dev server (serves the frontend)
Create a .env file in the project root with the following variables:
MESHDB_API_URL=https://<your-meshdb-instance>/api
MESHDB_API_TOKEN=<your-token>In one terminal, start the Express API server:
npm run serverIn a second terminal, start the Vite dev server:
npm install
npm run devThe frontend will be available at http://localhost:5173/. API requests to /api/* will be proxied to the Express server on port 3001.
- React
- Vite
- TypeScript
- Redux
- MapLibre
- DeckGL
podman build . --tag willnilges:map-v2
podman run --rm -it -p 8080:80 --name map-v2 willnilges:map-v2
To deploy
kubectl create ns map-v2
helm --kubeconfig ~/.kube/config-dev3 --namespace map-v2 upgrade --install map-v2 -f map-v2/secrets.yaml map-v2