How yeasinrabby2001/cse370-database-system-project works
GarmentOS is a Django/MySQL garment-factory management app, but the sampled runtime currently implements only Authority login, session-protected dashboard access, and logout. README-listed staff, finance, attendance, and production features are described as in progress; their implementations are not present in the supplied tree. The graph follows the evidenced request flow and records those documented product branches without asserting unseen connections.
Main entry points: views.py Page and auth views · config/urls.py Project routing · mainapp/urls.py App routes · models.py Authority records
Components 13
Web interface
- Project routing
config/urls.py - App routes
mainapp/urls.py - Page and auth views
mainapp/views.py - Login page
templates/login.html - Home page
templates/index.html - Authority dashboard
templates/authoritydashboard.html
Authority access
- Staff and employee management
mainapp - Finance approvals
mainapp - Attendance tracking
mainapp - Production tracking
mainapp
Persistence
- Authority records
mainapp/models.py - MySQL database
Other components
- Authority user
Connections 12
- Authority user → Project routing: sends requests
config/urls.py - Project routing → App routes: includes routes
config/urls.py - App routes → Page and auth views: dispatches views
mainapp/urls.py - Page and auth views → Authority records: checks credentials
mainapp/views.py - Authority records → MySQL database: persists records
- Page and auth views → Login page: renders login
mainapp/views.py - Page and auth views → Home page: renders home
mainapp/views.py - Page and auth views → Authority dashboard: renders dashboard
mainapp/views.py - Authority user → Staff and employee management: manages staff
README.md - Authority user → Finance approvals: approves requests
README.md - Authority user → Attendance tracking: tracks attendance
README.md - Authority user → Production tracking: tracks production
README.md