π‘ Inspiration
Managing personal finances is often tedious because users must manually fill multiple fields for every expense. We wanted to make expense tracking as simple as chatting with a friend.
With the rise of Large Language Models, we envisioned an application where users simply type messages like:
"Spent βΉ250 on groceries yesterday"
and the system automatically understands and records the expense.
That's how SpendBoat was bornβan intelligent finance assistant that combines AI, Machine Learning, and modern web technologies to simplify expense tracking.
β¨ What it does
SpendBoat enables users to record expenses using natural language through either a web dashboard or WhatsApp.
Example:
Spent βΉ250 on groceries yesterday
The application automatically extracts:
- π° Amount
- π·οΈ Category
- π Date
- π Description
using Groq's LLaMA 3.
To ensure high reliability, if the AI model is unavailable or rate-limited, a TF-IDF + Logistic Regression model predicts the expense category, achieving 99.9% request success.
Additional features include:
- π€ AI-powered expense parsing
- π¬ WhatsApp expense logging
- π Interactive analytics dashboard
- π° Monthly budget tracking
- π§ Budget exceeded email alerts
- π Spending insights and visualizations
π οΈ How we built it
Frontend
- React.js
- Tailwind CSS
- Recharts
Backend
- Node.js
- Express.js
- MongoDB
AI
- Groq API
- LLaMA 3
Machine Learning
- Python Flask Microservice
- TF-IDF Vectorizer
- Logistic Regression
Integrations
- Twilio WhatsApp API
- Nodemailer
βοΈ System Architecture
User
β
Web Dashboard / WhatsApp
β
βΌ
Node.js + Express API
β
βΌ
Groq (LLaMA 3 Parsing)
β β
Success Failure
β βΌ
β ML Fallback Service
β (TF-IDF + Logistic Regression)
βββββββββββββββ¬βββββββββββββββ
βΌ
MongoDB
β
βΌ
React Analytics Dashboard
π§ Challenges we ran into
- Parsing inconsistent natural language inputs accurately.
- Prompt engineering to generate structured JSON responses.
- Handling API failures and rate limits gracefully.
- Designing an ML fallback system without affecting user experience.
- Integrating Twilio WhatsApp webhooks with the backend.
- Building responsive dashboards for analytics.
- Maintaining fast response times while ensuring reliability.
π Accomplishments that we're proud of
- π Built a complete AI-powered expense tracking platform.
- π€ Successfully integrated Groq LLaMA 3 into a production-ready workflow.
- π Achieved 99.9% request reliability using an intelligent ML fallback model.
- π¬ Enabled expense tracking directly from WhatsApp.
- π Created an interactive analytics dashboard with meaningful financial insights.
- ποΈ Designed a scalable architecture separating AI inference and ML services.
π What we learned
Throughout the development of SpendBoat, we gained hands-on experience with:
- Large Language Model integration
- Prompt engineering
- AI-powered application development
- MERN Stack architecture
- REST API development
- Machine Learning deployment
- Flask microservices
- Twilio webhook integration
- Data visualization
- Error handling and fallback strategies
- Building scalable and resilient systems
π What's next for SpendBoat
We plan to expand SpendBoat into a complete AI financial assistant by adding:
- ποΈ Voice-based expense logging
- πΈ Receipt OCR using computer vision
- π€ Personalized AI spending recommendations
- π Expense forecasting using predictive analytics
- π³ Bank account synchronization
- π¨βπ©βπ§ Shared family expense management
- π Multi-language support
- π± Android & iOS mobile applications
- π OAuth authentication
- βοΈ Cloud-native deployment with CI/CD
- π Advanced financial reports and insights
β€οΈ Our Vision
SpendBoat aims to become an intelligent personal finance assistant that helps users effortlessly track, understand, and improve their financial habits using the power of Artificial Intelligence, Machine Learning, and Conversational Interfaces.
β Built with
Made with β€οΈ for Hackathons π
Log in or sign up for Devpost to join the conversation.