How uniquead/manga-map-store works
MangaMap is a directory for discovering physical manga, light-novel, used-book, and merchandise shops. Visitors start at the destination-focused home page, then explore searchable and filterable listings on a map, open shop details, or submit a listing. The API keeps listings in an in-memory array, serves published shops, accepts submissions as pending, and supports moderation. The map uses OpenStreetMap tiles. Storage is process-local rather than a persistent database; source excerpts show the route calls and UI interactions, while the README documents the broader product capabilities.
Main entry points: route.ts Shop API · explore/page.tsx Search and filters · Nav.tsx Site navigation · app/page.tsx Welcome and destinations
Components 11
Shop discovery
- Welcome and destinations
app/page.tsx - Search and filters
app/explore/page.tsx - Shop map
components/ShopMap.tsx - Shop details
app/shop/[id]/page.tsx
Directory services
- Shop API
app/api/shops/route.ts - In-memory listings
app/api/shops/route.ts
Community and moderation
- Shop submission
app/submit/page.tsx - Submission moderation
app/admin/page.tsx
Shared interface
- Site navigation
components/Nav.tsx
Other components
- Reader
- OpenStreetMap tiles
Connections 20
- Reader → Welcome and destinations: opens
README.md - Welcome and destinations → Search and filters: links to
app/page.tsx - Welcome and destinations → Shop submission: links to
app/page.tsx - Reader → Search and filters: searches listings
README.md - Search and filters → Shop API: fetches listings
app/explore/page.tsx - Shop API → In-memory listings: reads listings
app/api/shops/route.ts - Shop API → Search and filters: returns published shops
app/explore/page.tsx - Search and filters → Shop map: renders filtered shops
app/explore/page.tsx - Shop map → OpenStreetMap tiles: loads map tiles
components/ShopMap.tsx - Search and filters → Shop details: opens listing
app/explore/page.tsx - Shop details → Shop API: fetches listings
app/shop/[id]/page.tsx - Shop submission → Shop API: posts submission
app/submit/page.tsx - Shop API → In-memory listings: adds pending listing
app/api/shops/route.ts - Submission moderation → Shop API: loads and updates status
app/admin/page.tsx - Shop API → In-memory listings: updates status
app/api/shops/route.ts - Reader → Submission moderation: reviews submissions
README.md - Site navigation → Search and filters: links to
components/Nav.tsx - Site navigation → Shop submission: links to
components/Nav.tsx - Site navigation → Submission moderation: links to
components/Nav.tsx - Shop details → OpenStreetMap tiles: links to directions
app/shop/[id]/page.tsx