How trong678112/scaduwingheroes works
Project type and purpose
• This is a single-page web application (SPA) built with React and Vite.
• It’s primarily a front-end project: there is no custom backend or microservice code here; instead static JSON files, images, a PDF guide, and an audio file live in the public folder.
• The app appears to serve pages for card scanning, library management, a user guide, etc., pulling data from public/database.json and public/library-cards.json.
File structure
• Top level:
• index.html – application shell
• package.json & vite.config.js – build and dev-server config
• eslint.config.js – linting rules
• vercel.json – deployment configuration for Vercel
• public/: static assets served unchanged (JSON, PDF, images, music)
• src/: React source
• main.jsx – React application entry point
• App.jsx & App.css – root component
• components/ – shared UI elements (Header, Footer)
• pages/ – route-specific views (Home, CardPage, GuidePage, LibraryPage, ScanPage)
• assets/ – any additional images/CSS you might add
README for additional insights
• Confirms use of Vite with React HMR, ESLint plugins.
• No backend; suggests production recommendation if migrating to TypeScript but currently JavaScript only.