Fi Compass is a comprehensive financial management platform that combines AI-powered insights with traditional financial tools to help users take control of their finances. Built with modern web technologies, it offers a seamless experience for tracking investments, analyzing spending patterns, and receiving personalized financial guidance.
- AI-Powered Financial Assistant - Chat with an intelligent financial advisor
- Dual Dashboard Modes - Pilot Mode for overview and Navigator Mode for detailed analysis
- Real-time Market Data - Live stock prices, charts, and market alerts
- Investment Tracking - Monitor stocks, mutual funds, and other investments
- Spending Analysis - Track and categorize expenses with AI insights
- Net Worth Calculator - Comprehensive asset and liability tracking
- Subscription Tracker - Monitor recurring payments and subscriptions
- Smart Chatbot - Financial advice with markdown-free responses
- Spending Pattern Analysis - AI-powered insights into spending habits
- Financial Insights - Personalized recommendations and analysis
- Knowledge Base (RAG) - Document upload and intelligent search
- Market Alerts - Custom alerts for price movements and news
- Responsive Design - Works seamlessly on desktop and mobile
- Dark/Light Theme - Modern UI with smooth animations
- Real-time Updates - Live data synchronization
- Demo Mode - Try features without real data
- Toast Notifications - User-friendly feedback system
- React 18 - Modern UI library with hooks
- TypeScript - Type-safe development
- Vite - Fast build tool and dev server
- React Router - Client-side routing
- Framer Motion - Smooth animations and transitions
- Shadcn/ui - High-quality, accessible components
- Radix UI - Unstyled, accessible primitives
- Tailwind CSS - Utility-first CSS framework
- Lucide React - Beautiful, customizable icons
- TanStack Query - Server state management
- React Hook Form - Form handling and validation
- Zod - Schema validation
- Chart.js - Flexible charting library
- React Chart.js 2 - React wrapper for Chart.js
- Recharts - Composable charting library
src/
├── components/
│ ├── ui/
│ ├── dashboard/
│ ├── Chatbot.tsx
│ ├── HeroSection.tsx
│ └── ...
├── hooks/
│ ├── useApi.ts
│ └── use-toast.ts
├── lib/
│ ├── api.ts
│ ├── utils.ts
│ └── gemini-test.ts
├── pages/
│ ├── Dashboard.tsx
│ ├── Index.tsx
│ └── Login.tsx
└── assets/
- Node.js 18+
- npm or yarn package manager
-
Clone the repository
git clone <repository-url> cd fi-compass
-
Install dependencies
npm install
-
Start development server
npm run dev
-
Open your browser Navigate to
http://localhost:5173
npm run dev- Start development servernpm run build- Build for productionnpm run build:dev- Build for developmentnpm run lint- Run ESLintnpm run preview- Preview production build
The application follows a modular component architecture:
- Pages - Top-level route components
- Components - Reusable UI components
- Hooks - Custom logic and API integration
- Utils - Helper functions and utilities
- TanStack Query - Server state and caching
- React State - Local component state
- Local Storage - User preferences and session data
The application integrates with multiple financial APIs:
- Authentication - User login/logout
- Financial Data - Net worth, transactions, investments
- Market Data - Real-time stock prices and charts
- AI Services - Chatbot and financial insights
- Knowledge Base - Document management and search
- Consistent Theming - Dark/light mode support
- Responsive Design - Mobile-first approach
- Accessibility - WCAG compliant components
- Smooth Animations - Framer Motion integration
- Chatbot - AI assistant with markdown-free responses
- Dashboard - Dual-mode financial overview
- Charts - Interactive financial visualizations
- Modals - Feature-rich overlay components
- Forms - Validated input components
Below are screenshots of the main UI sections of Fi Compass:
- Markdown Removal - Clean, readable responses
- Financial Context - Personalized advice based on user data
- Conversation History - Persistent chat sessions
- Real-time Responses - Instant AI assistance
- Financial Analysis - Spending pattern insights
- Investment Advice - Personalized recommendations
- Document Processing - Knowledge base integration
- Market Analysis - Real-time market insights
- Overview Dashboard - Key financial metrics
- Quick Actions - Common financial tasks
- Recent Activity - Latest transactions and updates
- AI Insights - Personalized recommendations
- Detailed Analysis - Comprehensive financial data
- Advanced Charts - Interactive visualizations
- Custom Reports - Tailored financial reports
- Deep Insights - In-depth financial analysis
Create a .env file in the root directory:
VITE_API_BASE_URL=your_api_base_url
VITE_AI_SERVICE_URL=your_ai_service_url
VITE_MARKET_DATA_URL=your_market_data_urlThe application is designed to work with various financial APIs:
- Authentication APIs - User management
- Financial Data APIs - Transaction and investment data
- Market Data APIs - Real-time stock information
- AI Service APIs - Chatbot and analysis services
- ESLint - Code quality and consistency
- TypeScript - Type safety and error checking
- Hot Reload - Instant development feedback
- Demo Mode - Test features without real data
- Responsive Testing - Cross-device compatibility
- Browser Testing - Cross-browser compatibility
The application is fully responsive and optimized for mobile devices:
- Touch-friendly Interface - Optimized for touch interactions
- Mobile Navigation - Collapsible sidebar and menus
- Responsive Charts - Touch-enabled visualizations
- Mobile Chatbot - Optimized chat interface
- Local Storage - Secure session management
- API Security - Authenticated API calls
- Input Validation - Form validation and sanitization
- Error Handling - Graceful error management
- Demo Mode - Test without real financial data
- Data Encryption - Secure data transmission
- Session Management - Secure user sessions
npm run build- Vercel - Recommended for React applications
- Netlify - Static site hosting
- AWS S3 - Static website hosting
- Docker - Containerized deployment
- 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
- TypeScript - Strict type checking
- ESLint - Code quality enforcement
- Prettier - Code formatting
- Conventional Commits - Standard commit messages
- Shadcn/ui - Beautiful, accessible components
- Framer Motion - Smooth animations
- TanStack Query - Powerful data fetching
- Tailwind CSS - Utility-first styling
- Lucide - Beautiful icons
For support and questions:
- Documentation - Check the API integration docs
- Issues - Report bugs and feature requests
- Contact - harshdeep7199@gmail.com
Fi Compass - Your Smart Financial Companion 🚀






