How f-mtqn/sistemtiketevent_awan works
Sistem Tiket Event is a browser-based event-ticket sales app. Users manage events and buyers, then create, filter, update, and delete ticket orders; order operations validate availability and adjust stock. The frontend’s router selects a page, page modules use a fetch wrapper, and FastAPI serves the API and static app. Backend data is held in seeded in-memory dictionaries, not a persistent database. The graph follows the documented capabilities; unsampled details are represented only where the README supports them.
Main entry points: main.py FastAPI endpoints · api.js Fetch client · app.js Page router · events.js Event pages
Components 11
Browser application
- Page router
frontend/static/app.js - Event pages
frontend/static/events.js - Buyer pages
frontend/static/buyers.js - Order pages
frontend/static/orders.js - Fetch client
frontend/static/api.js - HTML shell
frontend/index.html
API and domain
- FastAPI endpoints
backend/main.py
In-memory state
- Event records
backend/main.py - Buyer records
backend/main.py - Order records
backend/main.py
Other components
- Browser user
Connections 15
- Browser user → HTML shell: opens app
README.md - FastAPI endpoints → HTML shell: serves shell
backend/main.py - Page router → Event pages: renders
frontend/static/app.js - Page router → Buyer pages: renders
frontend/static/app.js - Page router → Order pages: renders
frontend/static/app.js - Event pages → Fetch client: requests data
frontend/static/events.js - Buyer pages → Fetch client: requests data
frontend/static/buyers.js - Order pages → Fetch client: requests data
frontend/static/orders.js - Fetch client → FastAPI endpoints: sends HTTP
frontend/static/api.js - FastAPI endpoints → Event records: reads and writes
backend/main.py - FastAPI endpoints → Buyer records: reads and writes
backend/main.py - FastAPI endpoints → Order records: reads and writes
backend/main.py - FastAPI endpoints → Event records: adjusts ticket stock
backend/main.py - FastAPI endpoints → Buyer records: validates buyer
backend/main.py - FastAPI endpoints → Order records: validates order links
backend/main.py