Artha (Sanskrit: ΰ€ ΰ€°ΰ₯ΰ€₯) meaning "wealth" or "purpose" - Your intelligent financial companion that understands your unique story, culture, and goals.
You can access the live platform here:
Deployed Url
For a quick walkthrough of the platform, check out the video demo:
Video Demo
To test the platform, use the following credentials:
- Username:
1313131313 - One-Time Password (OTP):
123456
Artha is an advanced AI-powered financial advisory platform that goes beyond generic advice. Built with cutting-edge technology including Google's Genkit AI framework, Firebase, and a sophisticated multi-agent system, Artha provides personalized financial guidance that understands cultural nuances and individual circumstances.
- π§ Multi-Agent AI System: Leveraging Google Genkit for intelligent financial analysis
- π Comprehensive Dashboard: Real-time financial overview with interactive charts
- π¬ Intelligent Chat Interface: AI-powered financial conversations with thinking animations
- π Anomaly Detection: Smart alerts for unusual financial patterns
- π Portfolio Management: Track investments, stocks, and financial goals
- π― Personalized Recommendations: Culturally-aware financial advice
- π± Responsive Design: Beautiful UI with Radix UI components and Tailwind CSS
- π Secure Authentication: Firebase Auth integration
- π Financial Reports: Generate comprehensive financial summaries
Frontend:
- Next.js 15.3.3 - React framework with App Router
- TypeScript - Type-safe development
- Tailwind CSS - Utility-first styling
- Radix UI - Accessible component primitives
- Framer Motion - Smooth animations
- Chart.js & Recharts - Data visualization
Backend & AI:
- Google Genkit - AI framework for intelligent flows
- Firebase - Authentication, database, and hosting
- Google Generative AI - LLM integration
- Model Context Protocol (MCP) - AI agent communication
UI/UX:
- Lucide React - Beautiful icons
- React Hook Form - Form management
- React Markdown - Rich text rendering
- HTML2Canvas & jsPDF - Report generation
- Node.js (v18 or later)
- npm or yarn or pnpm
- Firebase CLI (optional, for deployment)
- Git
git clone https://github.com/SiddharthJiyani/project-artha-frontend.git
cd project-artha-frontendnpm install
# or
yarn install
# or
pnpm installCreate a .env.local file in the root directory:
# Firebase Configuration
NEXT_PUBLIC_FIREBASE_API_KEY=your_api_key
NEXT_PUBLIC_FIREBASE_AUTH_DOMAIN=your_project.firebaseapp.com
NEXT_PUBLIC_FIREBASE_PROJECT_ID=your_project_id
NEXT_PUBLIC_FIREBASE_STORAGE_BUCKET=your_project.appspot.com
NEXT_PUBLIC_FIREBASE_MESSAGING_SENDER_ID=your_sender_id
NEXT_PUBLIC_FIREBASE_APP_ID=your_app_id
# Google AI Configuration
GOOGLE_AI_API_KEY=your_google_ai_api_key
# Additional API Keys
NEXT_PUBLIC_GOOGLE_MAPS_API_KEY=your_maps_api_key- Create a new Firebase project at Firebase Console
- Enable Authentication, Firestore, and Storage
- Add your Firebase configuration to
.env.local
npm run devVisit http://localhost:3000 to see your application.
# Development with Turbopack
npm run dev
# Production build
npm run build
# Start production server
npm start
# Run linting
npm run lint
# Type checking
npm run typecheck
# Start Genkit AI development
npm run genkit:dev
# Watch mode for Genkit
npm run genkit:watch- Primary: Deep Indigo-Violet (
#5A4FCF) - Wisdom and trust - Secondary: Vibrant Teal-Aqua (
#00CBA8) - Clarity and growth - Neutral: Soft warm grays (
#F5F7FA,#E0E4EB,#6B7280) - Highlight: Subtle Goldenrod (
#FFD700) - Cultural richness
- Font Family: Inter (Grotesque sans-serif)
- Design: Modern, clean, and highly readable
- Animated "Trail of Light" explaining Artha's concepts
- Feature showcase with tier-based agent system
- Cultural awareness highlights
- Net worth overview with sparkline charts
- Monthly income tracking
- Credit score monitoring
- Interactive financial trend charts
- Multi-agent thinking process visualization
- Context-aware financial conversations
- Real-time AI responses with loading states
- Investment tracking
- Stock analysis
- Goal setting and monitoring
- AI-generated financial summaries
- Anomaly detection alerts
- Exportable reports (PDF format)
The project uses a custom Tailwind configuration with:
- Custom color scheme
- Animation utilities
- Component-specific styling
- App Router architecture
- TypeScript strict mode
- Optimized build configuration
-
Set Environment Variables in Vercel Dashboard:
NEXT_PUBLIC_FIREBASE_API_KEY=your_api_key NEXT_PUBLIC_FIREBASE_AUTH_DOMAIN=your_project.firebaseapp.com NEXT_PUBLIC_FIREBASE_PROJECT_ID=your_project_id NEXT_PUBLIC_FIREBASE_STORAGE_BUCKET=your_project.appspot.com NEXT_PUBLIC_FIREBASE_MESSAGING_SENDER_ID=your_sender_id NEXT_PUBLIC_FIREBASE_APP_ID=your_app_id NEXT_PUBLIC_FIREBASE_DATABASE_URL=https://your_project-default-rtdb.firebaseio.com/ GOOGLE_AI_API_KEY=your_google_ai_api_key
-
Deploy: Push to main branch for automatic deployment
-
Verify: Check that all routes work (not just
/)
Note: See
DEPLOYMENT_FIX.mdfor detailed troubleshooting if you encounter build issues.
npm run build
firebase deploydocker build -t artha-frontend .
docker run -p 3000:3000 artha-frontend# Run all tests
npm test
# Run with coverage
npm run test:coverage
# E2E tests
npm run test:e2esrc/
βββ app/ # Next.js App Router
β βββ (main)/ # Main application routes
β β βββ dashboard/ # Financial dashboard
β β βββ chat/ # AI chat interface
β β βββ portfolio/ # Investment portfolio
β β βββ ...
β βββ api/ # API routes
β βββ globals.css # Global styles
βββ components/ # Reusable UI components
β βββ ui/ # Base UI components (Radix)
β βββ ...
βββ lib/ # Utility libraries
βββ hooks/ # Custom React hooks
βββ types/ # TypeScript type definitions
βββ ai/ # Genkit AI flows and configurations
βββ contexts/ # React context providers
- 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.
- Google Genkit for AI framework
- Radix UI for accessible components
- Tailwind CSS for styling system
- Next.js team for the amazing framework
Artha - Where AI meets personal finance, and wisdom meets wealth.