G15 is an advanced AI-powered budget management application built with Next.js, React, and Supabase. The name "G15" stands for Goals, Groups, and Genius - the three core pillars of the app.
- Secure user registration, login, and profile management
- JWT-based authentication with Supabase
- Pro subscription system with Stripe integration
- Role-based access control
- Create and manage budget categories
- Track expenses and income
- Visualize spending patterns
- Set spending limits
- Set financial goals with progress tracking
- Earn badges for achieving financial milestones
- Accumulate points for discounts on Pro subscription
- Create or join financial groups (family, team, business)
- Collaborate on shared budgets and goals
- Group achievements appear in public showcase
- Get personalized budget recommendations
- Ask questions about financial data
- Receive advice on spending habits and saving opportunities
- Powered by Google's Gemini API
- Public feed of user achievements
- Celebrate financial milestones with the community
- View financial overview at a glance
- Interactive charts and reports
- Transaction history and insights
- Frontend: React, TailwindCSS, shadcn/ui
- Backend: Supabase (PostgreSQL, Authentication, Storage)
- AI Integration: Google Gemini API
- State Management: TanStack Query (React Query)
- Form Handling: React Hook Form
- Validation: Zod
- Routing: React Router
- Clone the repository
- Install dependencies:
npm install - Set up environment variables:
- Create a
.envfile with Supabase URL and key - Add Gemini API key for AI features
- Create a
- Set up Supabase:
- Create tables according to the schema
- Set up authentication
- Deploy edge functions
- Start the development server:
npm run dev
The application uses a PostgreSQL database with the following key tables:
profiles: Extended user datagoals: Financial goalstransactions: Income and expense recordsbudget_categories: Budget planningbadges: Achievement recognitionsuser_badges: User earned badgesgroups: Collaborative financial groupsgroup_members: Group membership datashowcase: Public achievement feedsubscriptions: Pro user subscription data
Contributions to G15 are welcome! Please feel free to submit a Pull Request.
This project is licensed under the MIT License - see the LICENSE file for details.