How pranjalshahi/mortgage-calculator works
Project type and purpose
• There is no backend or database directory—everything lives under public and src, so it’s a static front‐end application (SPA).
File structure
• Top‐level files:
• .eslintrc.json – linting rules for code quality
• package.json – project dependencies and scripts
• README.md – project description
• public/ folder holds the static HTML (index.html) and any other assets served as‐is.
• src/ folder holds the React app:
• index.js – entry point that bootstraps React into the DOM
• App.js – root React component containing UI and form logic
• styles.css – global CSS
• utils/calcMortgage.js – core mortgage calculation logic
README for additional insights
• The README is minimal and does not describe architecture. All architectural knowledge must come from the file structure and naming conventions.