How metinmeki/z_padel works
This is a Flask web application for operating a padel club and its café: customers can book courts, browse the shop or menu, and register for tournaments; staff administer bookings, sales, sessions, and club operations. The main workflow runs from a customer or staff request through a registered route to domain models and a rendered page or response. Other documented-by-template capabilities include coaching requests, live court snapshots and clips, tabs, and tournament brackets. Evidence is limited to the supplied excerpts and source index; the README was empty, so some feature details and links remain unverified.
Main entry points: __init__.py Flask app setup · models/main.py Club domain models · store.py Store and order models · routes/main.py Public pages
Components 17
Web entry and identity
- Flask app setup
app/__init__.py - App configuration
config.py - Login and access
app/routes/auth.py
Club operations
- Public pages
app/routes/main.py - Court booking
app/routes/booking.py - Club administration
app/routes/admin.py
Sales and commerce
- Point of sale
app/routes/pos.py - Customer tabs
app/routes/tabs.py - Online store
app/routes/store.py - Café menu
app/routes/menu.py
Community and media
- Tournament management
app/routes/tournaments.py
Domain data
- Club domain models
app/models/main.py - Store and order models
app/models/store.py - Expense model
app/models/expenses.py
Other components
- Customer
- Club staff
- Court camera service
Connections 27
- Customer → Flask app setup: requests pages
- Club staff → Flask app setup: uses operations
- Flask app setup → App configuration: loads settings
app/__init__.py - Flask app setup → Login and access: registers route
app/__init__.py - Flask app setup → Public pages: registers route
app/__init__.py - Flask app setup → Club administration: registers route
app/__init__.py - Flask app setup → Court booking: registers route
app/__init__.py - Flask app setup → Online store: registers route
app/__init__.py - Flask app setup → Point of sale: registers route
app/__init__.py - Flask app setup → Customer tabs: registers route
app/__init__.py - Flask app setup → Tournament management: registers route
app/__init__.py - Flask app setup → Café menu: registers route
app/__init__.py - Login and access → Club domain models: authenticates users
app/routes/auth.py - Court booking → Club domain models: reads and writes
app/routes/booking.py - Club administration → Club domain models: manages records
app/routes/admin.py - Club administration → Store and order models: manages products
app/routes/admin.py - Public pages → Club domain models: reads club data
app/routes/main.py - Public pages → Store and order models: reads products
app/routes/main.py - Point of sale → Club domain models: updates sessions
app/routes/pos.py - Point of sale → Store and order models: records sales
app/routes/pos.py - Customer tabs → Club domain models: updates tabs
app/routes/tabs.py - Customer tabs → Store and order models: updates stock
app/routes/tabs.py - Online store → Store and order models: serves store
app/routes/store.py - Café menu → Club domain models: resolves places
app/routes/menu.py - Café menu → Store and order models: handles menu orders
app/routes/menu.py - Tournament management → Club domain models: stores registrations
app/routes/tournaments.py - Public pages → Court camera service: fetches snapshots
app/routes/main.py