How devorld/react-grid works
Sandbox is a small monorepo centered on a Next.js React/Leaflet web app: users can view a map, load WFS features, select regions for details, and view a separate sample grid. The README also documents API, fake-API, documentation, and bot apps, but their implementations are mostly absent from this tree. The map-to-WFS route and map interactions are visible in excerpts; backend details and several app relationships remain unverified.
Main entry points: MapView.tsx Interactive map · page.tsx Map route · map.tsx Map page · route.ts WFS API route
Components 16
Web experience
- Map route
apps/web/app/map/page.tsx - Map page
apps/web/src/pages/map/ui/map.tsx - Interactive map
apps/web/src/pages/map/ui/MapView.tsx - Map data types
apps/web/src/pages/map/model/types - WFS API route
apps/web/app/api/wfs/route.ts - WFS client
apps/web/src/shared/api/wfs/index.ts - Grid route
apps/web/app/grid/page.tsx - Sample grid
apps/web/src/pages/grid/ui/grid.tsx - Status endpoint
apps/web/app/api/status/route.ts
Documentation
- Docs app
apps/docs/app/page.tsx
Shared UI
- UI components
packages/ui/src
Other components
- Visitor
- WMS tile service
Connections 10
- Visitor → Map route: opens map
README.md - Map route → Map page: renders
apps/web/app/map/page.tsx - Map page → Interactive map: exports
apps/web/src/pages/map/ui/map.tsx - Interactive map → WFS API route: fetches features
apps/web/src/pages/map/ui/MapView.tsx - WFS API route → WFS client: fetches data
apps/web/app/api/wfs/route.ts - Interactive map → Map data types: uses types
apps/web/src/pages/map/ui/MapView.tsx - Interactive map → WMS tile service: loads map tiles
apps/web/src/pages/map/ui/MapView.tsx - Visitor → Grid route: opens grid
README.md - Grid route → Sample grid: exports
apps/web/app/grid/page.tsx - Visitor → Status endpoint: requests status