How puneethkumar-tech/vl-silks works
VL Silks is a Flask-based garment-shop management system for catalog, stock, purchasing, point-of-sale, customer credit, returns, and business reporting. Users authenticate and work through server-rendered screens or API endpoints; Flask routes handle requests, business services apply domain logic, and database utilities access MySQL. The README documents the full capability set, but only selected source excerpts were provided, so connections between unsampled route and service modules are not asserted.
Main entry points: app.py Flask application · products.py Product routes · services Domain services · database.py Database utilities
Components 19
User interface
- Shop screens
backend/templates
Request handling
- Flask application
backend/app.py - Authentication
backend/routes/auth.py - Product routes
backend/routes/products.py - Other module routes
backend/routes
Business capabilities
- Catalog and categories
backend/services - Inventory
backend/services - Suppliers and purchasing
backend/services - Sales and billing
backend/services - Customer records
backend/services - Credit and payments
backend/services - Returns and exchanges
backend/services/return_service.py - Dashboard and reports
backend/services - Credit statement PDFs
backend/services/pdf_service.py - User management
backend/services - Domain services
backend/services
Persistence
- Database utilities
backend/utils/database.py
Other components
- Shop staff
- MySQL database
Connections 7
- Shop staff → Shop screens: uses
- Flask application → Authentication: registers
- Flask application → Product routes: registers
- Flask application → Other module routes: registers
- Product routes → Domain services: calls product service
- Domain services → Database utilities: queries
- Database utilities → MySQL database: connects