How gozareha/business-plan-generator works
Purpose and status
This repository is currently a planning-only shell for a Persian/RTL web application that will generate 10-year financial business plans. No application source, build manifest, or runtime implementation exists yet; the only substantive project definition is README.md.
Intended entry points
The future primary user entry point is a structured questionnaire in a browser. It will collect business assumptions, run financial calculations, and expose downloadable Excel and PDF outputs. No actual UI or executable entry point is present in the file tree.
Grounding: README.md
Financial-model pipeline
The planned core domain flow is:
1. Capture and validate questionnaire inputs.
2. Calculate fixed investment and depreciation.
3. Calculate working capital, payroll, operating expenses, sales/advertising assumptions, and bank facilities.
4. Produce projected profit and loss over ten years.
5. Derive plan summary and IRR.
6. Render/export the resulting model as Excel and PDF.
The stated model is based on a nine-sheet Excel-style structure, making the financial calculation layer the architectural center rather than the UI.
Grounding: README.md
Planned application boundary
The intended frontend stack is React 18, Vite, and TypeScript, with Tailwind CSS configured for RTL presentation. React Hook Form and Zod are planned for the questionnaire/form-validation boundary. At present, none of their package, source, or configuration files are committed.
Grounding: README.md
Export boundary
Calculated financial-model data will be transformed into two document formats: Excel via SheetJS and PDF via jsPDF. Export adapters should consume a stable, computed plan model rather than form state directly, so spreadsheet sheets and PDF presentation remain separate from calculation rules.
Grounding: README.md
Repository state and planning artifact
The repository contains no implemented financial engine, UI, API, persistence layer, tests, or infrastructure definitions. The .zcode content is planning metadata rather than application runtime code.
Grounding: .zcode/plans/plan-sess_8e1f5fff-569b-45f6-9485-1a04cacb29a6.md, README.md
Material runtime and services
The planned runtime is a client-side Vite/React web application. No backend, database, authentication provider, deployment platform, or external financial service is identified. Calculations and document generation are therefore expected to run locally in the browser unless later architecture adds server-side concerns.
Grounding: README.md
Main entry points: README.md Financial calculation engine · plan-sess_8e1f5fff-569b-45f6-9485-1a04cacb29a6.md Planning metadata
Components 12
Planned browser application
No implementation exists yet.
- Structured questionnaire · Persian/RTL browser entry point for business assumptions.
README.md - Input validation
README.md
Financial model
Planned nine-sheet Excel-style calculation structure.
- Financial calculation engine · Stable computed plan model; architectural center.
README.md - Investment & depreciation
README.md - Working capital & operations · Working capital, payroll, operating expenses, sales, advertising, and bank facilities.
README.md - 10-year profit & loss
README.md - Plan summary & IRR
README.md - Computed plan model · Separates calculation rules from document presentation.
README.md
Document exports
- Excel export
README.md - PDF export
README.md
Other components
- Planning metadata · Repository planning content, not application code.
.zcode/plans/plan-sess_8e1f5fff-569b-45f6-9485-1a04cacb29a6.md - Project definition · Only substantive current project definition.
README.md
Connections 12
- Structured questionnaire → Input validation: submits assumptions
- Input validation → Financial calculation engine: validated inputs
- Financial calculation engine → Investment & depreciation: calculates
- Financial calculation engine → Working capital & operations: calculates
- Investment & depreciation → 10-year profit & loss: depreciation inputs
- Working capital & operations → 10-year profit & loss: operating inputs
- 10-year profit & loss → Plan summary & IRR: projects
- Plan summary & IRR → Computed plan model: derives
- Computed plan model → Excel export: renders
- Computed plan model → PDF export: renders
- Project definition → Structured questionnaire: defines planned UI
- Planning metadata → Project definition: records planning