You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The api.py file has grown to over 500 lines with many responsibilities mixed together. This creates several issues potentially making managing this file much harder.
Proposed Solution
Refactor into multiple modules following a more structured approach as per domain:
routes/product.py - Product-related endpoints
routes/auth.py - Authentication endpoints
routes/stats.py - Statistics endpoints
We could also potentially look into refactoring the database and response formatting helpers.
The text was updated successfully, but these errors were encountered:
Problem Description
The api.py file has grown to over 500 lines with many responsibilities mixed together. This creates several issues potentially making managing this file much harder.
Proposed Solution
Refactor into multiple modules following a more structured approach as per domain:
We could also potentially look into refactoring the database and response formatting helpers.
The text was updated successfully, but these errors were encountered: