How muthu-py/pulseaccess-perso works
PulseAccess is a FastAPI backend for creator accounts, OTP-based login, and related community, plan, subscription, payment, dashboard, and member APIs. The clearest end-to-end workflow is registration or email OTP login, followed by refresh-token session management; community and plan endpoints currently return placeholder results. The graph preserves other product modules visible in the tree, but their behavior is not established by the sampled source. The README is empty, so unsampled capabilities and relationships are shown conservatively.
Main entry points: main.py FastAPI application · dependencies.py Dependency providers · services.py Auth workflows · session_service.py Session management
Components 23
API and wiring
- FastAPI application
app/main.py - Dependency providers
app/api/dependencies.py
Creator identity
- Auth endpoints
app/modules/auth/routers.py - Auth workflows
app/modules/auth/services.py - Creator and OTP data
app/modules/auth/repositories.py - Creator and token models
app/modules/auth/models.py - Session management
app/infrastructure/security/session_service.py - JWT tokens
app/infrastructure/security/jwt_service.py - Refresh cookies
app/infrastructure/security/cookie_service.py - OTP and hashing
app/core/security.py
Community and commerce
- Community endpoints
app/modules/community/routers.py - Plan endpoints
app/modules/plan/routers.py - Subscription API
app/modules/subscription/routers.py - Payment and webhooks
app/modules/payment/routers.py
Creator features
- Dashboard API
app/modules/dashboard/routers.py - Member API
app/modules/member/routers.py - Notification module
app/modules/notification/services.py
Infrastructure
- Telegram integration
app/infrastructure/telegram/telegram_interface.py - SMTP email
app/infrastructure/email/smtp_email_service.py - Razorpay integration
app/infrastructure/razorpay/razorpay_interface.py - Async database session
app/infrastructure/database/session.py - Application settings
app/core/config.py
Other components
- API client
Connections 27
- API client → FastAPI application: sends requests
app/main.py - FastAPI application → Auth endpoints: mounts
app/main.py - FastAPI application → Community endpoints: mounts
app/main.py - FastAPI application → Plan endpoints: mounts
app/main.py - FastAPI application → Subscription API: mounts
app/main.py - FastAPI application → Payment and webhooks: mounts
app/main.py - FastAPI application → Dashboard API: mounts
app/main.py - FastAPI application → Member API: mounts
app/main.py - Auth endpoints → Dependency providers: resolves service
app/modules/auth/routers.py - Auth endpoints → Auth workflows: calls
app/modules/auth/routers.py - Dependency providers → Auth workflows: constructs
app/api/dependencies.py - Dependency providers → Async database session: provides session
app/api/dependencies.py - Dependency providers → SMTP email: constructs
app/api/dependencies.py - Dependency providers → Session management: constructs
app/api/dependencies.py - Dependency providers → Telegram integration: provides stub
app/api/dependencies.py - Dependency providers → Razorpay integration: provides stub
app/api/dependencies.py - Auth workflows → Creator and OTP data: reads and writes
app/modules/auth/services.py - Auth workflows → Session management: creates and rotates
app/modules/auth/services.py - Auth workflows → SMTP email: sends login OTP
app/modules/auth/services.py - Auth workflows → OTP and hashing: generates and checks OTP
app/modules/auth/services.py - Auth workflows → Refresh cookies: clears cookie
app/modules/auth/services.py - Creator and OTP data → Creator and token models: uses models
app/modules/auth/repositories.py - Session management → JWT tokens: creates and validates
app/infrastructure/security/session_service.py - Session management → Refresh cookies: sets refresh cookie
app/infrastructure/security/session_service.py - Session management → OTP and hashing: hashes token
app/infrastructure/security/session_service.py - Session management → Creator and OTP data: persists refresh tokens
app/infrastructure/security/session_service.py - Async database session → Application settings: loads database config
app/infrastructure/database/session.py