Warning
This is not finished!
A new frontend for OSMCha, incorporating the osmcha-frontend project and the changeset-map in one NextJS app.
Prepare:
sudo code /etc/hosts
# add:
# 127.0.0.1 osmcha2.test
Then:
npm run dev # this will prompt you to use the NextJS https in Dev feature
Now: Open https://osmcha2.test
The main parts of this application are:
- Next.js using the app router. All fetches are done in React Server Components (RSC)
- Tailwind CSS with Tailwind UI Catalyst for styling and components
- React Map GL for everything to do with Maplibre GL JS maps
- Nuqs for handling public state in the URL and Zustand for handling internal shared state
- Zod for parsing API responses