Stacks is a revolutionary financial literacy platform that combines AI coaching, blockchain transparency, and gamified rewards to make building wealth engaging and sustainable. Designed for Gen Z and young professionals, Stacks transforms traditional financial education into an interactive, personalized experience.
Making wealth accessible to everyone through technology.
Traditional financial education is broken - it's boring, one-size-fits-all, and disconnected from real behavior change. Stacks bridges this gap by:
- Personalizing financial advice through AI coaching
- Gamifying wealth-building with blockchain-verified rewards
- Democratizing access to sophisticated financial tools
- Educating users through interactive, engaging experiences
- π Financial literacy gap among young adults
- π― Lack of personalized financial guidance
- π° Difficulty maintaining savings habits
- π¦ Barriers to investment and wealth building
- π€ Need for 24/7 financial coaching
- Personalized insights based on spending patterns
- 24/7 availability for financial questions and guidance
- Smart budget analysis with optimization recommendations
- Investment suggestions tailored to risk tolerance
- Goal achievement tracking with actionable steps
- Plaid integration for secure account linking
- Real-time transaction monitoring and categorization
- Bank-level encryption and security standards
- Multi-account support across different institutions
- SMART goals framework with blockchain backing
- Milestone tracking with progress visualization
- Automated savings recommendations
- Goal commitment through smart contracts
- STX tokens earned for financial milestones
- Blockchain transparency for all rewards
- Gamified experience making saving fun
- Real value tokens with future redemption options
- Financial overview with real-time data
- Budget tracking and spending analysis
- Investment portfolio monitoring
- Goal progress visualization
- Interactive tutorials on financial concepts
- Personalized learning paths based on goals
- Market insights and investment education
- Best practices for wealth building
- Framework: Next.js 14 (App Router)
- Language: TypeScript
- Styling: Tailwind CSS + Custom CSS Variables
- UI Components: Radix UI + Custom Components
- Animations: Framer Motion
- Charts: Recharts
- State Management: React Hooks + Zustand (implied)
- Database: Supabase (PostgreSQL)
- Authentication: Supabase Auth
- API Routes: Next.js API Routes
- Real-time: Supabase Realtime
- Banking: Plaid API
- AI: Google Generative AI (@google/generative-ai)
- Blockchain: Polygon Network (for STX tokens)
- Payments: Stripe (future implementation)
- Package Manager: pnpm
- Linting: ESLint + Prettier
- Type Checking: TypeScript
- Deployment: Vercel (recommended)
Users (Supabase Auth)
βββ Profiles (user metadata)
βββ Bank Connections (Plaid integration)
βββ Financial Accounts
βββ Transactions
βββ Budget Categories
βββ Goals & Milestones
βββ Reward Tokens
βββ AI Chat Messages
/api/
βββ auth/ # Authentication endpoints
βββ bank/ # Plaid integration
βββ budget/ # Budget management
βββ goals/ # Goal setting and tracking
βββ transactions/ # Transaction management
βββ ai/ # AI coach interactions
βββ wallet/ # Token management
βββ rewards/ # Reward system
src/
βββ app/ # Next.js App Router pages
β βββ (auth)/ # Authentication pages
β βββ dashboard/ # Main application
β βββ budget/ # Budget management
β βββ goals/ # Goal setting
β βββ api/ # API routes
βββ components/
β βββ ui/ # Base UI components
β βββ dashboard/ # Dashboard-specific components
β βββ auth/ # Authentication components
β βββ budget/ # Budget components
β βββ goals/ # Goal components
β βββ ai-coach/ # AI chat interface
β βββ rewards/ # Reward system components
βββ lib/
βββ supabase.ts # Database client
βββ plaid.ts # Banking integration
βββ store.ts # State management
βββ events.ts # Event tracking
- Node.js 18+ and pnpm
- Supabase account and project
- Plaid developer account
-
Clone the repository
git clone https://github.com/Sultanlodi/Hackathon25.git cd Hackathon25 -
Install dependencies
pnpm install
-
Set up environment variables
cp .env.example .env.local
Fill in your environment variables:
# Supabase NEXT_PUBLIC_SUPABASE_URL=your-supabase-url NEXT_PUBLIC_SUPABASE_ANON_KEY=your-supabase-anon-key # Plaid PLAID_CLIENT_ID=your-plaid-client-id PLAID_SECRET=your-plaid-secret PLAID_ENV=sandbox # Google AI GOOGLE_GENERATIVE_AI_API_KEY=your-google-ai-key
-
Set up Supabase database
- Follow the complete setup guide in
SUPABASE_SETUP.md - Run the provided SQL schema in your Supabase dashboard
- Follow the complete setup guide in
-
Start the development server
pnpm dev
-
Open the application Visit http://localhost:3000
Hackathon25/
βββ public/ # Static assets
βββ src/
β βββ app/ # Next.js App Router
β β βββ globals.css # Global styles
β β βββ layout.tsx # Root layout
β β βββ page.tsx # Landing page
β β βββ dashboard/ # Dashboard pages
β β βββ budget/ # Budget management
β β βββ goals/ # Goal setting
β β βββ login/ # Authentication
β β βββ api/ # API routes
β βββ components/ # React components
β β βββ ui/ # Base UI components
β β βββ dashboard/ # Dashboard components
β β βββ auth/ # Auth components
β β βββ budget/ # Budget components
β β βββ goals/ # Goal components
β β βββ ai-coach/ # AI chat components
β β βββ rewards/ # Reward components
β βββ lib/ # Utilities and configs
β βββ supabase.ts # Database client
β βββ plaid.ts # Banking API
β βββ store.ts # State management
β βββ events.ts # Analytics
βββ .env.local # Environment variables
βββ SUPABASE_SETUP.md # Database setup guide
βββ package.json # Dependencies
βββ tailwind.config.js # Styling config
βββ tsconfig.json # TypeScript config
pnpm dev- Start development serverpnpm build- Build for productionpnpm start- Start production serverpnpm lint- Run ESLintpnpm lint:fix- Fix ESLint errorspnpm type-check- Run TypeScript checkspnpm format- Format code with Prettierpnpm format:check- Check code formatting
- Bank-level encryption for all financial data
- Row Level Security (RLS) in Supabase
- No data selling - your information stays private
- FDIC-insured partner institutions
- Compliance with financial regulations
- AI-First Approach: Personalized coaching available 24/7
- Blockchain Transparency: All rewards and goals verified on-chain
- Gamification: Making financial literacy engaging and fun
- Real Integration: Live bank data and actual investment options
- Education Focus: Teaching rather than just tracking
- Gen Z Optimized: Modern UI/UX designed for digital natives
We welcome contributions! Please see our contributing guidelines and code of conduct.
This project is licensed under the MIT License - see the LICENSE file for details.