How sadhguru-slayer/pagewise-backend works
PageWise Studio is a resume-building API with AI-assisted parsing and job targeting, resume exports, accounts, and paid plans. The main workflow enters through the FastAPI app, reaches resume endpoints, and can invoke parsing or job-analysis capabilities while persisting user work and usage. Separate routes support sign-in, exports, payments, feedback, and administration. Source-index references and excerpts support the links shown; unsampled implementations are represented only where their existence or relationship is documented, so some internal flow is intentionally omitted.
Main entry points: main.py FastAPI app · database.py Database access · resumes.py Resume routes · auth.py Authentication routes
Components 21
API entry
- FastAPI app
app/main.py
Resume workspace
- Resume routes
app/routers/resumes.py - Resume AI parsing
app/ai_extractor.py - Job analysis
app/jd_analyzer.py - ATS scoring
app/ats_scorer.py - Wiser AI runtime
app/wiser_runtime.py - Export routes
app/routers/exports.py - Export generation
app/export_service.py
Accounts and plans
- Authentication routes
app/routers/auth.py - Token and identity
app/auth.py - One-time codes
app/services/otp.py - Email delivery
app/services/email.py - Payment routes
app/routers/payments.py - Plan and quota rules
app/services/subscription.py - Administration
app/routers/admin.py - Feedback routes
app/routers/feedback.py
Shared services
- Database access
app/database.py - Domain records
app/models.py - API schemas
app/schemas.py
Other components
- Studio user
- Razorpay
Connections 27
- Studio user → FastAPI app: sends requests
app/main.py - FastAPI app → Resume routes: registers routes
app/main.py - FastAPI app → Authentication routes: registers routes
app/main.py - FastAPI app → Export routes: registers routes
app/main.py - FastAPI app → Payment routes: registers routes
app/main.py - FastAPI app → Administration: registers routes
app/main.py - FastAPI app → Feedback routes: registers routes
app/main.py - Resume routes → Resume AI parsing: invokes parsing
app/routers/resumes.py - Resume routes → Job analysis: invokes analysis
app/routers/resumes.py - Resume routes → Wiser AI runtime: uses runtime
app/routers/resumes.py - Job analysis → ATS scoring: uses scoring
app/jd_analyzer.py - Resume AI parsing → Wiser AI runtime: uses runtime
app/ai_extractor.py - Export routes → Export generation: invokes exports
app/routers/exports.py - Authentication routes → Token and identity: uses identity
app/routers/auth.py - Authentication routes → One-time codes: manages codes
app/routers/auth.py - Authentication routes → Email delivery: sends email
app/routers/auth.py - One-time codes → Database access: uses cache config
- Payment routes → Plan and quota rules: checks plans
app/routers/payments.py - Payment routes → Razorpay: creates payment orders
app/routers/payments.py - Administration → Plan and quota rules: configures plans
app/routers/admin.py - Resume routes → Database access: reads and writes
app/routers/resumes.py - Authentication routes → Database access: reads and writes
app/routers/auth.py - Payment routes → Database access: reads and writes
app/routers/payments.py - Export routes → Database access: reads and writes
app/routers/exports.py - Feedback routes → Database access: reads and writes
app/routers/feedback.py - Database access → Domain records: maps records
app/database.py - Resume routes → API schemas: validates payloads
app/routers/resumes.py