An interactive collection of personal finance tools focused on Systematic Investment Plans (SIP) and related investment scenarios. Built with React 19, Vite 6, TypeScript, Tailwind CSS, and Recharts for visualizations. The app also includes a Cloudflare Worker (Hono) scaffold for future APIs and edge deployment.
- SIP Calculator: Estimate maturity value, total invested, and wealth gained with optional inflation adjustment.
- Lumpsum Calculator: Compute compound growth for a one-time investment.
- Goal Planner: Plan contributions needed to reach a target corpus.
- Retirement Planner: Model long-term retirement savings and drawdown assumptions.
- FD vs SIP: Compare fixed deposit growth vs SIP returns.
- Compounding Power: Visualize how compounding accelerates growth.
- Fund Explorer: Placeholder for exploring funds (extendable to plug in real data/APIs).
All calculators present clean inputs, instant calculations, and charts using Recharts.
Effortlessly calculate the future value of your monthly investments. This tool visualizes your wealth growth over time, showing the power of compound interest and helping you plan your Systematic Investment Plan (SIP) with precision.
See how a one-time investment can grow. This calculator projects the total earnings and final value of your lumpsum amount, complete with a year-by-year comparison chart to track your investment's performance.
Turn your financial dreams into reality. Define your target amount and time period, and this planner calculates the exact monthly SIP required to reach your goal. A progress bar and timeline keep you motivated and on track.
Discover and analyze the best mutual funds for your portfolio. This powerful tool allows you to filter funds by type and risk level, compare top performers, and view detailed metrics to make informed investment decisions.
Plan for a secure future with this comprehensive retirement calculator. It estimates the total corpus you'll need by factoring in current expenses, inflation, and life expectancy, then calculates the required monthly SIP to achieve your retirement goals.
/
├── index.html
├── package.json
├── src/
│ ├── react-app/
│ │ ├── App.tsx
│ │ ├── components/
│ │ ├── pages/
│ │ ├── main.tsx
│ │ └── index.css
│ ├── shared/
│ │ └── types.ts
│ └── worker/
│ └── index.ts
├── tailwind.config.js
├── vite.config.ts
├── wrangler.jsonc
└── tsconfig.*.jsonsrc/react-app/App.tsx: Routes and top-level layout.src/react-app/pages/*: Individual calculator pages and views.src/react-app/components/*: Reusable UI components (cards, inputs, results).src/worker/index.ts: Cloudflare Worker entry (Hono) – extend for APIs.wrangler.jsonc: Cloudflare Worker config (D1 binding scaffolded asDB).
The app uses React Router. Key paths (
src/react-app/App.tsx
):
/– SIP Calculator/lumpsum– Lumpsum Investment Calculator/goal-planner– Goal Planner/mutual-funds– Fund Explorer/retirement– Retirement Planner/fd-vs-sip– FD vs SIP/compounding– Compounding Power
-
SIP maturity value: ( A = P \times \frac{((1+r)^n - 1)(1+r)}{r} )
P: monthly contribution,r: monthly return (annual/12),n: months- Optional inflation adjustment divides by ((1+\pi)^{years}) (default (\pi = 6%)).
-
Lumpsum (compound interest): ( A = P(1+r)^t )
P: initial amount,r: annual return,t: years
These are implemented with rounded display values and Recharts-based visualizations.
- Frontend: React 19, TypeScript, Vite 6, Tailwind CSS
- Charts: Recharts
- Routing: React Router
- Icons: lucide-react
- Edge/Backend scaffold: Cloudflare Workers + Hono
- Linting: ESLint (eslint@9, typescript-eslint)
The frontend builds to a static bundle. You can deploy the dist folder to any static host (e.g., Cloudflare Pages, Netlify, Vercel, S3/CloudFront).
This repo includes a Worker entry (src/worker/index.ts) and a wrangler.jsonc. To deploy the Worker (for APIs or SSR/edge logic):
- Install Wrangler:
npm i -D wrangler - Login:
npx wrangler login - (Optional) Generate types for bindings:
npm run cf-typegen - Dry-run check:
npm run check - Deploy:
npx wrangler deploy
Notes:
wrangler.jsonchasassets.not_found_handlingset tosingle-page-applicationto support client routing in SPAs.- A D1 binding named
DBis scaffolded. If unused, you may remove the binding fromwrangler.jsonc.
- Tailwind is pre-configured in
tailwind.config.jsandpostcss.config.js. - Vite alias
@points tosrc(seevite.config.ts). Use paths like@/react-app/pages/SipCalculator. - TypeScript configs are split (
tsconfig*.json) for app/node/worker.
- If dev server fails on Windows, ensure PowerShell has permission and that Node 20+ is installed.
- If charts don’t render, confirm values are numeric and not
NaN. - For Worker deploy issues, check
wrangler --version, login status, and that your account/project is selected.
This project is provided as-is. Add your preferred license if you plan to distribute.