Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tordans/osmcha2
NextJS Frontent for OSMCha
https://github.com/tordans/osmcha2
Last synced: 3 months ago
JSON representation
NextJS Frontent for OSMCha
- Host: GitHub
- URL: https://github.com/tordans/osmcha2
- Owner: tordans
- Created: 2024-06-13T06:31:50.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2024-06-20T08:51:08.000Z (6 months ago)
- Last Synced: 2024-06-20T22:14:00.886Z (6 months ago)
- Language: TypeScript
- Size: 613 KB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# OSMCha2
> [!WARNING]
> This is not finished!## Scope
A new frontend for OSMCha, incorporating the osmcha-frontend project and the changeset-map in one NextJS app.
## Local development
Prepare:
```bash
sudo code /etc/hosts
# add:
# 127.0.0.1 osmcha2.test
```Then:
```bash
npm run dev # this will prompt you to use the NextJS https in Dev feature
```Now: Open [https://osmcha2.test](https://osmcha2.test)
## Toolchain
The main parts of this application are:
- [Next.js](https://nextjs.org/docs) 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