How harshjohn756-collab/hackverse- works
SheEarn is a women-focused services marketplace with provider verification, service discovery and booking, payments, messaging, ratings, and government-scheme information. Its principal workflow is a customer browsing services, booking one, paying, and rating it after completion; providers register, manage services and bookings, and receive payment. The Flask application factory registers the backend routes and serves the frontend. Source excerpts support several route-to-model interactions, but the frontend-to-API wiring and unsampled scheme, admin, and socket behavior are not verified here.
Main entry points: __init__.py Flask app factory · she_earn.db Application database · booking_routes.py Booking lifecycle · profile_routes.py User profiles
Components 23
Web experience
- Web pages
sheEarn/frontend/index.html - API client
sheEarn/frontend/js/api.js - Browse services
sheEarn/frontend/browse.html - Bookings
sheEarn/frontend/bookings.html - Chat
sheEarn/frontend/chat.html - Schemes
sheEarn/frontend/schemes.html - Wallet
sheEarn/frontend/wallet.html
Identity and profiles
- Authentication and KYC
sheEarn/backend/app/routes/auth_routes.py - JWT and roles
sheEarn/backend/app/utils/auth.py - User profiles
sheEarn/backend/app/routes/profile_routes.py - Image uploads
sheEarn/backend/app/utils/upload.py
Marketplace workflow
- Service discovery
sheEarn/backend/app/routes/service_routes.py - Service records
sheEarn/backend/app/models/service.py - Booking lifecycle
sheEarn/backend/app/routes/booking_routes.py - Payments and wallet
sheEarn/backend/app/routes/payment_routes.py - Ratings
sheEarn/backend/app/routes/rating_routes.py
Community and schemes
- Messaging
sheEarn/backend/app/routes/chat_routes.py - Live chat events
sheEarn/backend/app/routes/socket_events.py - Government schemes
sheEarn/backend/app/routes/scheme_routes.py
Backend platform
- Flask app factory
sheEarn/backend/app/__init__.py - Administration
sheEarn/backend/app/routes/admin_routes.py - Application database
sheEarn/backend/instance/she_earn.db
Other components
- Customer / provider
Connections 32
- Customer / provider → Web pages: uses
- Web pages → API client: uses
- API client → Flask app factory: calls API
- Flask app factory → Authentication and KYC: registers
sheEarn/backend/app/__init__.py - Flask app factory → User profiles: registers
sheEarn/backend/app/__init__.py - Flask app factory → Service discovery: registers
sheEarn/backend/app/__init__.py - Flask app factory → Booking lifecycle: registers
sheEarn/backend/app/__init__.py - Flask app factory → Payments and wallet: registers
sheEarn/backend/app/__init__.py - Flask app factory → Ratings: registers
sheEarn/backend/app/__init__.py - Flask app factory → Messaging: registers
sheEarn/backend/app/__init__.py - Flask app factory → Government schemes: registers
sheEarn/backend/app/__init__.py - Flask app factory → Administration: registers
sheEarn/backend/app/__init__.py - Flask app factory → Live chat events: loads events
sheEarn/backend/app/__init__.py - Authentication and KYC → JWT and roles: uses
sheEarn/backend/app/routes/auth_routes.py - User profiles → JWT and roles: uses
sheEarn/backend/app/routes/profile_routes.py - User profiles → Image uploads: stores images
sheEarn/backend/app/routes/profile_routes.py - Service discovery → Service records: queries
sheEarn/backend/app/routes/service_routes.py - Service discovery → Image uploads: stores images
sheEarn/backend/app/routes/service_routes.py - Booking lifecycle → Service records: checks availability
sheEarn/backend/app/routes/booking_routes.py - Payments and wallet → Booking lifecycle: checks booking
sheEarn/backend/app/routes/payment_routes.py - Ratings → Booking lifecycle: verifies completion
sheEarn/backend/app/routes/rating_routes.py - Ratings → Service records: updates rating
sheEarn/backend/app/routes/rating_routes.py - Authentication and KYC → Application database: reads and writes
sheEarn/backend/app/routes/auth_routes.py - User profiles → Application database: reads and writes
sheEarn/backend/app/routes/profile_routes.py - Service discovery → Application database: reads and writes
sheEarn/backend/app/routes/service_routes.py - Booking lifecycle → Application database: reads and writes
sheEarn/backend/app/routes/booking_routes.py - Payments and wallet → Application database: reads and writes
sheEarn/backend/app/routes/payment_routes.py - Ratings → Application database: reads and writes
sheEarn/backend/app/routes/rating_routes.py - Messaging → Application database: reads and writes
sheEarn/backend/app/routes/chat_routes.py - Live chat events → Application database
- Government schemes → Application database
- Administration → Application database