How valentave/miscrits-calculator works
Project Type and Purpose
• This is a single-page web application built using React.
• The static assets (images and CSS) and JSON data (for miscrits lists and relics) help power the simulation.
File Structure to Identify Main Components
• The root contains configuration files (e.g., package.json, vite.config.js, .eslintrc.cjs) used in building and maintaining the app.
• The public folder holds static assets organized by type (full pictures, profile pics, relics, etc.) that are served directly.
• The src folder is the core of the application:
• App.jsx – the main container component that likely provides the overall layout.
• main.jsx – the entry point for bootstrapping the React app.
• Components – a set of modular React components (such as EditBonusWindow, HelpWindow, MiscritMain, MiscritsFilter, MiscritsList, Options, RelicWindow, Stats) that manage various aspects of the simulation.
• Data – JSON files (miscritsList.json, relics.json) which provide the simulation's input data.
• Styles – CSS files specific to each component for styling purposes.
• The index.html file acts as the shell that loads the bundled React application.
• A note to reference the underlying technologies (React, Vite) where applicable.