How ep357/fin-demo-calc works
Project type and purpose
• This is a front-end Single-Page Application (SPA) built with React, TypeScript, Vite, and Tailwind CSS.
• The feature set (components like ExchangeRates, Portfolio, MarketNews, etc.) indicates it’s a financial dashboard demo (“fin-demo-calc”).
File structure
• Root files:
– index.html: the HTML shell that loads the JS bundle and CSS
– script.js: any custom standalone script (optional/legacy)
– package.json & lock: dependencies & scripts
– Vite + ESLint + Tailwind + PostCSS + TypeScript config files
• src/
– main.tsx: entry point that bootstraps React into index.html
– App.tsx: top-level React component
– contexts/ThemeContext.tsx: React Context for theming
– components/: UI widgets (Sidebar, TopBar, CTAStrip, Dashboard and its children)
– index.css: global styles (Tailwind base imports)
• Build & tooling: vite.config.ts, tsconfig*.json, tailwind.config.js, postcss.config.js, eslint.config.js
README
• Only contains the project title (“fin-demo-calc”)