An interactive, gamified guide to Financial Independence. This application helps users navigate through personal finance priorities, from budgeting and emergency funds to maximizing tax-advantaged accounts and investment strategies.
The Financial Quest Flow Chart takes the popular "Prime Directive" flow chart logic and turns it into an interactive wizard. Users input their financial details (income, expenses, debts) and the application guides them through the optimal order of operations for allocating their money.
- Interactive Wizard: Step-by-step flow guiding you through:
- Income & Budgeting
- Emergency Fund (Starter & Full)
- Employer Match (401k/403b)
- high-interest Debt Payoff
- HSA & IRA Contributions
- Maxing out 401k
- Education & Goals
- Taxable Brokerage Accounts
- Automated Tax Year Logic: Dynamically switches between "Official" (IRS-confirmed) and "Projected" limits based on the current date, ensuring longevity without manual code updates.
- Visual Feedback:
- Quest Bar: Tracks your overall progress through the financial stages.
- Action Board: Generates a customized "to-do" list based on your inputs.
- Budget Tracking: Real-time visualization of your remaining budget as you allocate funds.
- Privacy Focused: All data is stored locally in your browser (Client-Side). No financial data is sent to a server.
- Framework: Next.js 14 (App Router)
- Language: TypeScript
- Styling: Tailwind CSS + Tailwind Animate
- State Management: Zustand
- Icons: Lucide React
- Animations: Framer Motion
- Utils:
clsx,cva(Class Variance Authority)
- Node.js (v18 or higher recommended)
- npm or yarn
-
Clone the repository:
git clone https://github.com/yourusername/financial-independence-flow-chart.git cd financial-independence-flow-chart -
Install dependencies:
npm install # or yarn install -
Run the development server:
npm run dev # or yarn dev -
Open http://localhost:3000 with your browser to see the result.
The project strictly adheres to Feature Sliced Design to ensure scalability and maintainability.
app: App-wide settings, styles, and providers.widgets: Compositional units that glue features together (e.g.,QuestFlow).features: Business logic slices (e.g.,BudgetStep,IraStep). Each slice contains its ownui,model, andapi.entities: Business domains (e.g.,financialstore,taxYearConfig).shared: Reusable infrastructure (e.g.,aeogenerator, UI kit).
This project implements Answer Engine Optimization (AEO) to maximize visibility in AI search (ChatGPT, Perplexity, Gemini).
- Semantic Twins: Key features have dedicated "How-To" pages (
/guide/*,/docs) mirroring the interactive logic with valid HTML for crawlers. - Type-Safe JSON-LD: All pages generate valid
SoftwareApplicationandFAQPageschemas viasrc/shared/lib/aeo.ts.
This project is optimized for deployment on Vercel.
- Based on the Personal Finance Flowchart created by u/happyasianpanda on r/personalfinance.
- Inspired by the Prime Directive from r/personalfinance.
Contributions are welcome! Please feel free to submit a Pull Request.