How sayoko123f/familymap works
Project type and purpose
• This is a single‐page application (SPA) built in Vue 3 + TypeScript + Vite.
• Its goal is to display “friendly food” discount listings from the FamilyMart API, allow users to browse by category, favorite shops, and respond to different devices (RWD).
File structure
• Top level:
• Configuration files (.gitignore, package.json, tsconfig.json, vite.config.ts, tailwind.config.js, postcss.config.js, prettier.config.js)
• Static/demo assets (demo/, public/)
• Source code (src/)
• src/ contains:
• main.ts (app bootstrap)
• router.ts (vue-router setup)
• store/ (Pinia modules + API wrappers)
• components/ (UI components split under friendly/, etc.)
• App.vue (root component)
• Build & deploy: Vite bundles, Tailwind + PostCSS, deployed to Cloudflare Pages.
README for additional insights
• Confirms tech stack: Vue 3, TypeScript, Vite, vue‐router, Pinia, TailwindCSS, axios
• Mentions future map‐based geolocation feature
• Hosted via Cloudflare Pages
• Use clear labels for each node: e.g., “Cloudflare Pages (CDN)”, “Vue Router”, “Pinia Store”, “FamilyMart API”
• Browser → CDN → Browser (static JS bundle)
• Components → Store → API → Store → Components
• Blue for UI/runtime components
• Orange for external services (APIs, Geolocation, Map)
• Green for build & hosting
• Rectangles for internal modules
• Clouds for CDN / hosting