FinDash is a comprehensive full-stack financial analysis platform that transforms raw financial data into actionable insights. Built with Next.js 15, React 19, and TypeScript, deployed on Netlify with serverless functions for scalable performance.
- ๐ One-Command Setup:
netlify devstarts both frontend and API backend - ๐ค Smart Data Processing: Auto-detects financial statement formats in multiple languages
- ๐ Real-time Analysis: Instant calculation of 20+ financial ratios with interactive charts
- ๐ Professional Reports: Generate publication-ready PDF reports with custom branding
- ๐ Full-Stack Ready: Seamless integration with 15+ external APIs and services
- Smart Upload Engine: Support for Excel (.xlsx, .xls) and CSV files up to 10MB
- Auto-Mapping Intelligence: Automatically detects and maps 10+ financial statement line items
- Multi-Language Support: Recognition of English and Vietnamese financial terms
- Drag & Drop Interface: Intuitive file upload with real-time validation
- Sample Template: Download sample financial data template
- 20+ Financial Ratios: Comprehensive ratio analysis including:
- Profitability ratios (Gross Margin, Net Margin, ROA, ROE)
- Leverage ratios (Debt-to-Equity, Debt-to-Assets, Equity Multiplier)
- Efficiency ratios (Asset Turnover, Inventory Turnover)
- DuPont Decomposition: Break down ROE into its component drivers
- Quality Assessment: Earnings quality and growth trend analysis
- Red Flag Detection: Automated alert system for financial risks
- Multi-Tab Interface: Overview, Ratios, DuPont Analysis, and Forecasting
- Dynamic Visualizations: Interactive charts with Recharts
- Responsive Design: Mobile-friendly with dark mode support
- Real-time Updates: Live calculation updates as data changes
- 12-Month Projections: Quick scenario modeling
- Interactive Assumptions: Adjustable growth rates and margin assumptions
- Scenario Analysis: Compare different business scenarios
- Visual Forecasts: Chart-based forecast presentations
- Comprehensive Reports: Multi-page PDF generation with executive summary
- Customizable Sections: Choose which analysis sections to include
- Chart Integration: Automatic capture of dashboard visualizations
- Professional Layout: Branded headers, formatted tables, and clean design
- Export Options: Company branding and custom report titles
- Frontend: Next.js 15, React 19, TypeScript
- Styling: Tailwind CSS with custom components
- Charts: Recharts for interactive data visualization
- Icons: Heroicons with consistent design language
- Animations: Framer Motion for smooth interactions
- File Processing: SheetJS (xlsx) for Excel/CSV parsing
- PDF Export: jsPDF + html2canvas for professional report generation
- Node.js 18+ and npm/yarn
- Modern web browser with JavaScript enabled
- Netlify CLI (for full-stack development)
-
Clone the repository
git clone https://github.com/yourusername/fin-dash.git cd fin-dash -
Install dependencies
npm install # or yarn install -
Start development server
# Recommended: Full-stack development with Netlify netlify dev # or npm run netlify:dev # Alternative: Next.js only npm run dev
-
Open your browser
- Netlify Dev: http://localhost:8888 (recommended)
- Next.js Dev: http://localhost:3000
- Click or drag financial statements (Excel/CSV) onto the upload area
- Maximum file size: 10MB
- Supported formats: .xlsx, .xls, .csv
- Download the sample template for reference
- Auto-mapping: The system automatically detects standard financial line items
- Manual mapping: If auto-mapping fails, manually map columns to financial categories
- Required fields: Revenue, COGS, Net Income, Total Assets, Total Liabilities, Shareholders Equity
- Optional fields: Gross Profit, SG&A, EBITDA, Cash Flow from Operations
- Overview: Revenue trends and profitability analysis
- Ratios: Comprehensive financial ratio breakdown
- DuPont: ROE decomposition and driver analysis
- Forecast: Interactive 12-month projections
- Click "Export Report" in the dashboard header
- Customize company information and report title
- Select which sections to include:
- โ Ratio Analysis: Financial ratio tables and trends
- โ DuPont Analysis: ROE breakdown and performance drivers
- โ Charts & Visualizations: High-resolution chart captures
- โ Financial Projections: Forward-looking insights
- Generate and download professional PDF reports
src/
โโโ app/
โ โโโ components/
โ โ โโโ UploadForm.tsx # File upload and validation
โ โ โโโ MappingDialog.tsx # Column mapping interface
โ โ โโโ ResultPanel.tsx # Main dashboard display
โ โ โโโ PDFExportDialog.tsx # PDF export customization
โ โ โโโ Layout components
โ โโโ utils/
โ โ โโโ financialAnalysis.ts # Core analysis engine
โ โ โโโ pdfExport.ts # PDF generation utility
โ โโโ page.tsx # Main application page
โโโ public/
โ โโโ sample-financial-data.csv # Sample template
โโโ ...
Core analysis engine that processes financial data and calculates:
- Profitability ratios and trends
- Leverage and efficiency metrics
- DuPont decomposition
- Quality indicators and alerts
- Summary statistics
Professional PDF generation system featuring:
- Multi-page report layouts
- Executive summary with key metrics
- Formatted ratio analysis tables
- Chart capture and embedding
- Custom company branding
- UploadForm: Handles file upload, validation, and parsing
- MappingDialog: Interactive column mapping with validation
- ResultPanel: Tabbed dashboard with charts and metrics
- PDFExportDialog: Customizable PDF report generation
- Corporate Finance Analysts: Streamline ratio analysis and reporting
- FP&A Teams: Quick insights for planning and forecasting
- Investment Professionals: Due diligence and company evaluation
- Startup Founders: Monitor financial health and investor metrics
- Monthly Financial Reviews: Automated ratio tracking with PDF reports
- Investment Analysis: Quick company evaluation with exportable summaries
- Board Reporting: Professional financial summaries and presentations
- Scenario Planning: "What-if" analysis with comprehensive documentation
- Excel/CSV file upload and parsing
- Auto-mapping of financial statement headers
- Manual mapping dialog for custom data structure
- 20+ financial ratio calculations
- DuPont analysis module
- Interactive dashboard with multiple chart types
- Quick forecasting with scenario analysis
- PDF export functionality with customizable reports
- Industry peer comparison and benchmarking โญ Just Added!
- Peer comparison against 8+ industry benchmarks โจ Completed!
- Valuation Models: DCF, P/E multiple analysis, and comparable company analysis โจ Just Added!
- Cash Flow Analysis: Operating, investing, financing cash flow breakdown
- Working Capital Management: Days sales outstanding, inventory turnover, payables analysis
- Stress Testing: Scenario modeling with Monte Carlo simulations
- Multi-company Portfolio: Compare multiple companies side-by-side
- Time Series Analysis: Advanced trend analysis and seasonality detection
- Custom Metrics Builder: Create and track custom financial metrics
- Automated Insights: AI-powered financial commentary and recommendations
- Alert System: Threshold-based notifications for key metrics
๐จ "netlify dev" command not found
# Install Netlify CLI globally
npm install -g netlify-cli
# Or use npx
npx netlify dev๐จ Port 8888 already in use
# Kill existing process
lsof -ti:8888 | xargs kill
# Or use different port
netlify dev --port 9999๐จ API routes not working
# Check if functions are running
netlify dev --debug
# Test API endpoints
curl http://localhost:8888/api/health๐จ Environment variables not loading
# Check Netlify site connection
netlify status
# Link to Netlify site
netlify link
# Check environment variables
netlify env:list๐จ Build failures
# Clear Next.js cache
rm -rf .next
npm run build
# Clear node_modules
rm -rf node_modules
npm installNeed Help?
- ๐ Check the Netlify Docs
- ๐ Report Issues
- ๐ฌ Discussions
Contributing:
- Fork the repository
- Create a feature branch:
git checkout -b feature/amazing-feature - Commit changes:
git commit -m 'Add amazing feature' - Push to branch:
git push origin feature/amazing-feature - Open a Pull Request
Built with โค๏ธ using Next.js 15, React 19, and Netlify Functions
โญ Star this repo if FinDash helps your financial analysis workflow!
- API Integrations: Connect to QuickBooks, Xero, and other accounting platforms
- Team Collaboration: Shared workspaces and collaborative analysis
- Real-time Data: Live financial data feeds and automatic updates
- White-label Solution: Customizable branding for consulting firms
- Company Information: Custom company name and report titles
- Section Selection: Choose which sections to include:
- Executive Summary with key insights
- Comprehensive ratio analysis tables
- DuPont analysis breakdown
- Industry peer comparison โญ New!
- Charts and visualizations (high-resolution captures)
- Financial projections and forecasting
- Multi-page Layout: Automatic page breaks and consistent formatting
- Chart Integration: High-resolution Recharts captures embedded seamlessly
- Branded Headers/Footers: Professional document styling
- Executive Summary: Key metrics, growth rates, and financial health overview
- Detailed Analysis: Comprehensive tables and insights
- Industry Benchmarking: Complete comparison against selected industry standards
- Performance Scores: Overall ratings and percentile rankings
- Strategic Insights: Automatically generated recommendations and improvement areas
- Visual Analysis: Included when peer comparison data is available
- Prepare your financial data in Excel (.xlsx) or CSV format
- Drag and drop your file onto the upload area
- FinDash automatically detects and maps common financial headers
- Review the auto-mapping or manually adjust column mappings
- View comprehensive ratio analysis across multiple periods
- Explore DuPont analysis to understand ROE drivers
- Monitor red-flag alerts for potential issues
- Examine growth trends and financial health indicators
- Click "Compare to Industry" in the dashboard
- Select your industry from 8+ available benchmarks:
- Technology - Software
- Retail - E-commerce
- Manufacturing - Industrial
- Healthcare - Pharmaceuticals
- Financial Services - Banking
- Energy - Oil & Gas
- Real Estate - REITs
- Consumer Goods - FMCG
- View your performance percentiles and strategic recommendations
- Identify strengths, weaknesses, and improvement opportunities
- Click "Export Report" to access PDF customization
- Add company information and select report sections
- Include peer comparison data when available
- Download a professional, multi-page financial analysis report
- Access the forecasting tab for scenario planning
- Adjust growth assumptions and margin trends
- View 12-month projections with interactive controls
We welcome contributions! Please see our Contributing Guidelines for details.
- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
- Documentation: Check our Wiki
- Issues: Report bugs on GitHub Issues
- Discussions: Join GitHub Discussions
- Built with Next.js and React
- Charts powered by Recharts
- Icons by Heroicons
- Styling with Tailwind CSS
- PDF generation with jsPDF
FinDash - Transforming financial analysis through intelligent automation and beautiful visualizations.
- Excel/CSV Upload: Drag-and-drop file upload with validation (10MB limit)
- Auto-Mapping Engine: Automatically detects and maps common financial statement headers
- Manual Mapping Dialog: Sophisticated interface for custom column-to-financial-line mapping
- Data Validation: Real-time validation and error checking
- 20+ Financial Ratios: Comprehensive ratio analysis including profitability, leverage, and efficiency metrics
- DuPont Analysis: ROE decomposition (Net Margin ร Asset Turnover ร Equity Multiplier)
- Quality Metrics: Earnings quality assessment and financial health indicators
- Red-Flag Alerts: Automatic detection of concerning financial trends
- Growth Analysis: Revenue CAGR and trend analysis
- 8+ Industry Benchmarks: Compare against Technology, Healthcare, Manufacturing, Retail, and more
- Performance Percentiles: See where your metrics rank (excellent, good, average, poor)
- Radar Chart Analysis: Visual performance comparison across multiple metrics
- Strategic Recommendations: Industry-specific insights and improvement suggestions
- Strengths & Weaknesses: Automated identification of competitive advantages and areas for improvement
- Multiple Chart Types: Line, bar, area, and composed charts using Recharts
- Real-time Updates: Charts update dynamically as data changes
- Dark Mode Support: Beautiful interface in both light and dark themes
- Responsive Design: Works seamlessly on desktop, tablet, and mobile
- Scenario Analysis: Adjustable growth assumptions (revenue growth, margin trends)
- 12-Month Projections: Forward-looking revenue and profit forecasts
- Interactive Controls: Real-time forecast adjustments with immediate visual feedback
- Comprehensive Reports: Multi-page PDFs with executive summary, ratio analysis, DuPont breakdown, and peer comparison
- Chart Integration: High-resolution chart captures embedded in reports
- Customizable Sections: Choose which sections to include in your report
- Company Branding: Add company name and custom report titles
- Professional Layout: Multi-page formatting with headers, footers, and consistent styling
This project is fully configured for Netlify with seamless full-stack development and deployment.
# ๐ฏ Recommended: Full-stack development
netlify dev # Starts frontend + backend on localhost:8888
npm run netlify:dev # Alternative command
# ๐ง Alternative: Next.js only
npm run dev # Next.js dev server on localhost:3000
# ๐ฆ Production build
npm run netlify:build # Optimized build for Netlify deployment
npm run build # Standard Next.js buildnetlify.toml Features:
- โ Unified Development: Single command runs frontend + backend
- โ Port Management: Netlify proxy (8888) โ Next.js (3000)
- โ
API Routing: Automatic proxy of
/api/*routes to Next.js - โ Environment Variables: Automatic injection from Netlify dashboard
- โ CORS Headers: Pre-configured for cross-origin requests
- โ Build Optimization: Node.js 18 with esbuild bundling
Next.js App Router Integration:
๐ค /api/upload- File upload and financial data processing๐ /api/health- Health check endpoint- All API routes automatically work as Netlify Functions in production
The following environment variables are supported:
๐ API Keys:
VUE_APP_OPENAI_API_KEY- OpenAI API integrationVUE_APP_GEMINI_API_KEY- Google Gemini AIVUE_APP_DEEPSEEK_API_KEY- DeepSeek AIVUE_APP_STOCK_API_KEY_FINNHUB- Financial dataVUE_APP_STOCK_API_KEY_POLYGON- Market dataVUE_APP_NEWS_API_KEY- News integrationVUE_APP_GOOGLE_MAPS_API_KEY- Maps integration
๐ฆ Financial Services:
PLAID_CLIENT_ID&PLAID_SECRET- Banking integrationVUE_APP_COINRANKING_KEY- Cryptocurrency dataVUE_APP_BINANCE_API_KEY- Crypto trading data
๐ Authentication:
GOOGLE_CLIENT_ID&GOOGLE_CLIENT_SECRET- OAuthSESSION_SECRET- Session managementMONGO_URI- Database connection
๐ External Services:
VUE_APP_ALPHA_VANTAGE_API_KEY- Stock dataVUE_APP_SERPER_API_KEY- Search APIVUE_APP_BRAVE_SEARCH_API_KEY- Search integration
Automatic Deployment:
# Deploy to production
git push origin main # Auto-deploys to Netlify
# Manual deployment
netlify deploy --prod # Direct deploymentBuild Process:
- Environment Injection: All environment variables are automatically loaded
- Dependencies: Node modules are cached for faster builds
- API Routes: Converted to Netlify Functions automatically
- Static Assets: Optimized and served from Netlify CDN
- Edge Functions: Next.js API routes run on Netlify Edge
Hot Reloading:
- Frontend changes reload instantly
- API route changes restart the function automatically
- Environment variable changes require server restart
Debugging:
# View detailed logs
netlify dev --debug
# Check function logs
netlify functions:list
netlify functions:invoke api-upload --payload='{"test": true}'Local Testing:
# Test API endpoints locally
curl http://localhost:8888/api/health
curl http://localhost:8888/api/upload -X POSTDevelopment Stack:
- Frontend: Next.js 15 + React 19 + TypeScript
- Backend: Next.js API Routes โ Netlify Functions
- Database: MongoDB (via MONGO_URI)
- File Storage: Temporary storage in
/tmp(serverless) - Build Tool: esbuild for fast bundling
- Deployment: Netlify Edge with global CDN