Skip to content

๐Ÿ’น FinSage โ€“ Your AI-Powered Investment Portfolio Assistant ๐Ÿค–๐Ÿ“Š A modern, responsive ๐Ÿ’ป fintech platform that offers ๐Ÿ“ˆ real-time stock analytics, ๐Ÿง  personalized AI financial guidance, ๐Ÿ’ผ portfolio tracking, and ๐Ÿ“š financial literacy resources โ€” built with โš›๏ธ React, ๐ŸŸฆ TypeScript, โšก Vite, ๐ŸŽจ Tailwind CSS, and integrated with the ๐Ÿ”Œ Finnhub API.

Notifications You must be signed in to change notification settings

jishanahmed-shaikh/finsage-app

Repository files navigation

FinSage - AI Powered Financial Literacy & Portfolio Management

FinSage Logo

React TypeScript Vite Tailwind CSS React Query React Router

Recharts Radix UI Axios Finnhub Zod React Hook Form

Groq AI TradingView Sonner

License Build Status Version

๐Ÿš€ Your AI-Powered Investment Portfolio Assistant

Democratizing financial intelligence through cutting-edge AI technology and intuitive design


๐ŸŒŸ Key Features

๐Ÿ“Š Portfolio Management

  • Interactive dashboard with real-time portfolio tracking
  • Asset allocation visualization and performance metrics
  • Risk assessment and portfolio health indicators
  • Returns calculator with tax impact forecasting

๐Ÿค– AI-Powered Chat Assistant

  • Advanced conversational AI with streaming responses
  • Personalized financial advice and market insights
  • Context-aware guidance with conversation memory
  • Natural language explanations of complex concepts

๐ŸŽ“ Complete Financial Education Platform

  • 10 Comprehensive Learning Modules covering all aspects of finance
  • 8 Interactive Quiz Categories with 150+ unique questions
  • Gamified Learning with points, achievements, and leaderboards
  • Progressive Difficulty from beginner to expert levels

๐Ÿ“ˆ Advanced Stock Analysis

  • Real-time stock data and interactive charts
  • Technical indicators and fundamental analysis
  • TradingView integration for professional charting
  • Stock comparison and watchlist functionality

๐Ÿ“ฑ Mobile-First Design

  • Fully responsive across all devices
  • Touch-optimized interactions
  • Progressive Web App capabilities
  • Offline-ready functionality

๐Ÿ“‹ Table of Contents


๐ŸŽฏ Inspiration

FinSage was born from a recognition of the significant challenges many individuals face when managing their investments and financial decisions. We observed that:

  1. Financial literacy remains inaccessible to many, creating barriers to effective investing
  2. Existing portfolio management tools are often complex and intimidating for beginners
  3. High-quality financial advice traditionally requires expensive advisors or extensive self-education

We envisioned a platform that could democratize financial intelligence by combining cutting-edge AI technology with intuitive design, making sophisticated portfolio management accessible to everyone - from beginners to seasoned investors.

โœจ What it does

FinSage is a comprehensive fin-tech Oriented platform that promotes Financial Literacy, track investments, analyze stocks, and receive personalized AI guidance. Key features include:

Portfolio Dashboard

  • Complete overview of asset allocation and diversification
  • Performance tracking with interactive metrics and visualizations
  • Risk assessment and portfolio health indicators
  • dashboard

Stock Performance Analytics

  • Real-time data visualization with interactive charts
  • Technical indicators and fundamental analysis
  • Comparison tools for evaluating different investment options
  • 8

๐Ÿค– Advanced AI Financial Assistant

  • Conversational AI Interface: Natural language processing for financial queries
  • Personalized Investment Advice: Tailored recommendations based on your profile
  • Real-Time Market Insights: AI-powered analysis of market trends and opportunities
  • Educational Explanations: Complex financial concepts explained in simple terms
  • Streaming Responses: Real-time AI responses with human-like conversation flow
  • Context-Aware Guidance: Remembers conversation history for better assistance
  • Powered by Advanced AI: Groq API integration for fast, intelligent responses
  • Chat

๐ŸŽ“ Comprehensive Financial Learning Hub

  • 10 Complete Learning Modules: From Investment Fundamentals to Advanced Options Trading
  • 8 Interactive Quiz Categories: 150+ unique questions with detailed explanations
  • Gamified Learning Experience: Points system, achievements, and leaderboards
  • Progressive Difficulty Levels: Beginner to Expert content paths
  • Real-World Applications: Practical financial knowledge you can use immediately
  • Achievement System: Unlock badges and track your financial literacy progress
  • learn1

๐Ÿ“š Learning Modules Include:

  • Investment Fundamentals & Portfolio Management
  • Stock Market Mastery & Analysis Techniques
  • Personal Finance & Budgeting Strategies
  • Retirement Planning & Tax-Smart Investing
  • Cryptocurrency & Digital Assets
  • Real Estate Investment & REITs
  • Options & Derivatives Trading
  • Global Markets & International Investing

๐Ÿง  Interactive Quiz System:

  • Investment Fundamentals (15 questions) - Master core investing principles
  • Stock Market Mastery (20 questions) - Advanced stock analysis and trading
  • Personal Finance Pro (18 questions) - Budgeting and debt management
  • Retirement Planning Expert (25 questions) - Long-term wealth building
  • Tax Strategy Challenge (22 questions) - Tax-efficient investing
  • Crypto & Digital Assets (16 questions) - Cryptocurrency fundamentals
  • Real Estate Investment (20 questions) - Property investing and REITs
  • Risk Management Master (14 questions) - Portfolio risk optimization

Returns Calculator

  • Projection tools for potential investment returns
  • Tax impact forecasting for investment decisions
  • Retirement planning and goal-setting features

๐Ÿ› ๏ธ How we built it

FinSage leverages a modern technology stack designed for performance, scalability, and user experience:

Frontend Architecture

  • React & TypeScript: Provides a robust foundation for our interactive UI
  • Vite: Enables extremely fast build times and development experience
  • Tailwind CSS: Implements a responsive design system that works across device sizes
  • shadcn/ui: Ensures consistent, accessible UI components throughout the application
  • React Query
  • techstack

Backend Architecture

  • Under Construction

Data Visualization

  • Recharts: Creates interactive, responsive financial charts and graphs
  • Optimized visualizations for both desktop and mobile viewing
  • datavisualization

State Management and Data Fetching

  • React Query: Implements efficient data fetching, caching, and synchronization
  • Provides real-time updates while minimizing network requests

User Experience Design

  • Conducted extensive user research with investors of varying experience levels
  • Implemented accessibility features following WCAG guidelines
  • Created intuitive navigation and information architecture

๐Ÿšง Challenges we ran into

Building FinSage presented several significant challenges:

  1. Balancing Complexity and Accessibility: Creating a platform that's powerful enough for experienced investors but accessible to beginners required careful UI/UX decisions and multiple iterations.
  2. Data Visualization Optimization: Rendering complex financial charts while maintaining performance on mobile devices demanded sophisticated optimization strategies.
  3. Financial Education Content: Developing educational content that adapts to different knowledge levels and learning styles required collaboration with financial experts.
  4. Responsive Design Implementation: Ensuring a seamless experience across all device sizes presented layout and interaction challenges, especially for data-heavy visualizations.
  5. User Authentication and Security: Implementing robust security measures while maintaining a smooth user experience required careful architecture decisions.

๐Ÿ† Accomplishments that we're proud of

  1. Advanced AI Integration: Implemented sophisticated conversational AI with streaming responses and context-aware financial guidance using Groq API.
  2. Comprehensive Learning Platform: Created a complete financial literacy hub with 10 detailed modules, 8 quiz categories, and 150+ unique questions with explanations.
  3. Gamified Education: Developed an engaging learning experience with achievements, points system, leaderboards, and progressive difficulty levels.
  4. Real-Time Data Integration: Successfully integrated multiple APIs (Finnhub, Groq) for live market data and AI-powered insights.
  5. Responsive Dashboard: Built a fully responsive financial dashboard that maintains functionality across all device sizes without compromising features.
  6. Performance Optimization: Achieved excellent performance metrics despite data-intensive visualizations and real-time AI processing.
  7. Accessibility Focus: Implemented WCAG guidelines ensuring financial tools are accessible to everyone regardless of ability.

๐Ÿ“š What we learned

Developing FinSage provided valuable insights and learning opportunities:

  1. Financial Data Complexity: Working with financial data revealed the challenges of normalizing and presenting complex information in an understandable way.
  2. User-Centered Design Process: We refined our approach to user testing and feedback integration, developing more effective methods for translating user needs into features.
  3. React Performance Optimization: We gained deeper expertise in optimizing React applications for performance, especially when dealing with data-heavy visualizations.
  4. Tailwind CSS Implementation: We developed more sophisticated strategies for maintaining design consistency while leveraging Tailwind's utility-first approach.
  5. Collaborative Development Workflows: We improved our processes for collaborative development, finding better ways to integrate design and development workflows.

๐Ÿ”ฎ What's next for FinSage

Our roadmap for FinSage includes several exciting features and improvements:

  1. Advanced Portfolio Optimization: Implementing sophisticated algorithms to suggest optimal asset allocation based on user risk tolerance, time horizon, and financial goals.
  2. Expanded Asset Classes: Adding support for alternative investments, cryptocurrencies, and other emerging asset classes to provide more comprehensive portfolio management.
  3. Social Learning Features: Introducing community-based learning opportunities where users can share insights and strategies in a moderated environment.
  4. Automated Tax Optimization: Developing intelligent tax-loss harvesting recommendations and tax impact forecasting for investment decisions.
  5. Enhanced Mobile Experience: Continuing to refine our mobile interface to ensure FinSage is fully functional and intuitive on all devices.
  6. API Integrations: Building connections to major brokerages and financial institutions for seamless data synchronization.
  7. Personalized Learning Paths: Creating individualized educational journeys based on user knowledge level, interests, and portfolio composition.
  8. Complete, Robust & Scalable Backend Architecture: Developing a Full-Fledged Backend Architecture for FinSage that can be scaled as per requirements.

โšก Quick Start

Prerequisites

Installation

  1. Clone the repository

    git clone https://github.com/jishanahmed-shaikh/finsage-app.git
    cd finsage-app
  2. Install dependencies

    npm install
    # or
    yarn install
  3. Environment Setup

    Create a .env.local file in the root directory:

    VITE_FINNHUB_API_KEY=your_finnhub_api_key_here
    VITE_GROQ_API_KEY=your_groq_api_key_here

    ๐Ÿ“ API Keys Required:

    • Finnhub API: Get your free key at Finnhub.io for real-time stock data
    • Groq API: Get your key at Groq.com for AI chat functionality
  4. Start the development server

    npm run dev
    # or
    yarn dev
  5. Open your browser

    Navigate to http://localhost:8080 to see the application running!

๐Ÿš€ Deployment

Deploy with Vercel (Recommended)

Deploy with Vercel

  1. Create a Vercel Account at vercel.com
  2. Connect your GitHub Account to Vercel
  3. Import the project from GitHub
  4. Add Environment Variables in Vercel dashboard:
    • VITE_FINNHUB_API_KEY: Your Finnhub API key
    • VITE_GROQ_API_KEY: Your Groq API key
  5. Deploy - Vercel will automatically build and deploy your app

Alternative Deployment Options

  • Netlify: Connect your GitHub repo and deploy
  • GitHub Pages: Use GitHub Actions for automated deployment
  • Railway: One-click deployment with database support

๐Ÿ‘ฅ Team

  • Jishanahmed AR Shaikh & Om S Bhojane

๐Ÿ™ Acknowledgments

  • Thanks to all the users who provided valuable feedback during our testing phase
  • Special thanks to the financial experts who helped validate our educational content
  • Appreciation to the open source community for the amazing tools that made this project possible

๐Ÿ”ง Technical Details

๐Ÿ—๏ธ Project Structure

finsage-app/
โ”œโ”€โ”€ public/
โ”‚   โ”œโ”€โ”€ favicon.ico
โ”‚   โ””โ”€โ”€ logo.png
โ”œโ”€โ”€ src/
โ”‚   โ”œโ”€โ”€ components/     # Reusable UI components
โ”‚   โ”œโ”€โ”€ hooks/         # Custom React hooks
โ”‚   โ”œโ”€โ”€ lib/           # Utility functions & API interfaces
โ”‚   โ”œโ”€โ”€ pages/         # Page components
โ”‚   โ”œโ”€โ”€ types/         # TypeScript type definitions
โ”‚   โ”œโ”€โ”€ App.tsx        # Main application component
โ”‚   โ””โ”€โ”€ main.tsx       # Application entry point
โ”œโ”€โ”€ .env.local         # Environment variables
โ””โ”€โ”€ package.json       # Dependencies and scripts

๐ŸŒ API Integration

FinSage integrates with multiple APIs for comprehensive functionality:

Finnhub API provides:

  • Real-time stock prices and market data
  • Historical price charts and trends
  • Company financial information
  • Market news and insights

Groq AI API powers:

  • Advanced conversational AI chat
  • Real-time streaming responses
  • Personalized financial advice
  • Natural language processing

๐Ÿ“ Implementation: Check src/lib/finnhub-api.ts and src/lib/groq-api.ts for API integration details

๐ŸŽจ UI Components

Built with shadcn/ui and Radix UI for:

  • Accessible, keyboard-navigable interfaces
  • Consistent design system
  • Dark/light theme support
  • Responsive layouts across all devices

๐Ÿ“Š Data Visualization

Powered by Recharts for:

  • Interactive financial charts
  • Portfolio performance graphs
  • Real-time data updates
  • Mobile-optimized visualizations

โš ๏ธ Important Notes

๐Ÿšง Development Status: FinSage is actively being developed into a full-stack application with a robust and scalable backend architecture.

๐Ÿ”‘ API Keys Required:

  • Finnhub API: Required for real-time stock data and market information
  • Groq API: Required for AI chat functionality and personalized financial advice
  • Without these keys, the app will display placeholder data or limited functionality

๐Ÿ“ฑ Mobile Ready: Fully responsive design optimized for desktop, tablet, and mobile devices.

๐ŸŽ“ Educational Focus: Comprehensive financial literacy platform with 10 learning modules and 150+ quiz questions.


๐Ÿค Contributing

We welcome contributions! Here's how you can help:

  1. Fork the repository
  2. Create a feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

Development Guidelines

  • Follow TypeScript best practices
  • Use ESLint and Prettier for code formatting
  • Write meaningful commit messages
  • Test your changes thoroughly
  • Update documentation as needed

๐Ÿ“„ License

This project is licensed under the MIT License - see the LICENSE file for details.


Made with โค๏ธ by the FinSage Team

โญ Star this repo โ€ข ๐Ÿ› Report Bug โ€ข ๐Ÿ’ก Request Feature

About

๐Ÿ’น FinSage โ€“ Your AI-Powered Investment Portfolio Assistant ๐Ÿค–๐Ÿ“Š A modern, responsive ๐Ÿ’ป fintech platform that offers ๐Ÿ“ˆ real-time stock analytics, ๐Ÿง  personalized AI financial guidance, ๐Ÿ’ผ portfolio tracking, and ๐Ÿ“š financial literacy resources โ€” built with โš›๏ธ React, ๐ŸŸฆ TypeScript, โšก Vite, ๐ŸŽจ Tailwind CSS, and integrated with the ๐Ÿ”Œ Finnhub API.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages