How devsaravana2007/nanmuthalvan-pocketsmart-ai works
PocketSmart AI is a web-based budget planner. Users register or sign in, choose a home, party, or jewelry planner, submit a budget (and optionally an outfit image for jewelry), and receive recommendations with shopping links; authenticated users can revisit recommendation history. The sampled routes show home and party generation and history handling; the README documents jewelry planning and replay. The app imports a MongoDB client, but the excerpts do not show it being used for application data. Some template and jewelry-route wiring is therefore represented only where documented or left unlinked.
Main entry points: app.py Web routes · gemini_utils.py Home planner · database.py MongoDB client · templates Planner pages
Components 13
Web Experience
- Web routes
app.py - Planner pages
templates - Page styles
static/styles.css
Accounts and History
- Authentication
app.py - Recommendation history
app.py
Budget Planning
- Home planner
gemini_utils.py - Party planner
gemini_utils.py - Jewelry planner
gemini_utils.py - Shopping link builder
gemini_utils.py
External Services
- MongoDB client
database.py - MongoDB
- Gemini API
Other components
- Planner user
Connections 16
- Planner user → Web routes: uses
README.md - Web routes → Planner pages: renders
app.py - Web routes → Page styles: serves
app.py - Web routes → Authentication: checks sessions
app.py - Web routes → Home planner: requests plans
app.py - Web routes → Party planner: requests plans
app.py - Web routes → Jewelry planner: requests plans
app.py - Web routes → Recommendation history: saves plans
app.py - Web routes → Recommendation history: reads plans
app.py - Home planner → Shopping link builder: builds links
gemini_utils.py - Party planner → Shopping link builder: builds links
gemini_utils.py - Jewelry planner → Shopping link builder: builds links
gemini_utils.py - Home planner → Gemini API: generates recommendations
- Party planner → Gemini API: generates recommendations
- Jewelry planner → Gemini API: matches image
- MongoDB client → MongoDB: connects to
database.py