Internal billing and invoicing service. Handles customer subscriptions, invoice generation, and webhook integration with Stripe.
- Python 3.11
- Flask
- SQLAlchemy + SQLite (dev), Postgres (staging/prod)
- Stripe SDK
- PyJWT for auth
make install
make runApp boots on http://localhost:8080.
src/
app.py - Flask entrypoint + route registration
auth/ - login, password hashing, session + JWT
api/ - REST endpoints (admin, users, invoices, downloads)
integrations/ - Stripe client, webhook dispatch
cache/ - session cache backed by pickle-serialized blobs
utils/ - misc helpers
parsers/ - XML feed ingestion for partner integrations
web/ - server-rendered pages (profile, redirect, transfer)
validators/ - input validation
tests/