How rilda-r/smart_shared_grocery_manager works
GrocEase is a Streamlit grocery-sharing application whose implemented runtime is currently centered on account access: users register, verify an email code, log in, and manage their session or account. The dashboard mentions shared-group activity and personal spending, but presents them as placeholders; the README also mentions OCR and product assignment without implementation detail in the supplied tree. The graph focuses on implemented authentication and account flows, with those documented/visible product areas called out as unimplemented. Relationships are limited to imports, calls, and page navigation shown in excerpts.
Main entry points: 01_Login.py Login page · app.py Login and dashboard · 02_Create_Account.py Account creation · 03_Verify_Email.py Email verification
Components 16
Streamlit interface
- Login and dashboard
app.py - Login page
pages/01_Login.py - Logout page
pages/05_Logout.py - Shared group activity
app.py - Personal spend tracker
app.py - OCR capability
- Product assignment
Account access
- Account creation
pages/02_Create_Account.py - Email verification
pages/03_Verify_Email.py - Password recovery
pages/04_Forgot_Password.py - Email and OTP rules
security/authentication.py - Password hashing
security/password_hash.py
Account persistence
- User accounts
database/database.py
Shared runtime
- Session timeout
session_manager.py - Shared styling
style.py
Other components
- GrocEase user
Connections 30
- GrocEase user → Login and dashboard: opens
app.py - GrocEase user → Login page: opens
pages/01_Login.py - GrocEase user → Account creation: registers
pages/02_Create_Account.py - Account creation → Email and OTP rules: validates and generates OTP
pages/02_Create_Account.py - Account creation → Password hashing: hashes password
pages/02_Create_Account.py - Account creation → User accounts: creates account; stores OTP
pages/02_Create_Account.py - Account creation → Email verification: routes to
pages/02_Create_Account.py - Email verification → User accounts: reads and verifies account
pages/03_Verify_Email.py - Email verification → Email and OTP rules: checks OTP expiry
pages/03_Verify_Email.py - Email verification → Login page: routes to
pages/03_Verify_Email.py - Login page → User accounts: reads account; updates lockout
pages/01_Login.py - Login page → Password hashing: checks password
pages/01_Login.py - Login page → Email verification: routes unverified users
pages/01_Login.py - Login and dashboard → User accounts: initializes and reads accounts
app.py - Login and dashboard → Password hashing: checks password
app.py - Login page → Session timeout: checks timeout
pages/01_Login.py - Account creation → Session timeout: checks timeout
pages/02_Create_Account.py - Email verification → Session timeout: checks timeout
pages/03_Verify_Email.py - Session timeout → Logout page: routes expired session
session_manager.py - Login and dashboard → User accounts: deletes account
app.py - Login page → User accounts: deletes account
pages/01_Login.py - Logout page → Login page: routes back
pages/05_Logout.py - Login and dashboard → Shared group activity: renders placeholder
app.py - Login and dashboard → Personal spend tracker: renders placeholder
app.py - GrocEase user → Password recovery: can open
- Login and dashboard → Shared styling: applies style and navigation
app.py - Login page → Shared styling: applies style and navigation
pages/01_Login.py - Account creation → Shared styling: applies style and navigation
pages/02_Create_Account.py - Email verification → Shared styling: applies style and navigation
pages/03_Verify_Email.py - Logout page → Shared styling: applies style and navigation
pages/05_Logout.py