Skip to content

Conversation

google-labs-jules[bot]
Copy link

This change adds new CRUD objects for Categories and Products to the backend, including models, API routes, tests, and database migrations.

This commit introduces new CRUD functionality for Categories and Products to the backend.

- Adds `Category` and `Product` models with their corresponding schemas and relationships.
- Creates new API endpoints for managing categories and products, restricted to superusers.
- Includes a new Alembic migration script to update the database schema.
- Provides comprehensive tests for the new models and API endpoints.
- Updates the test configuration to ensure the test database is properly migrated before running tests.
This commit introduces new CRUD functionality for Categories and Products.

Backend:
- Adds `Category` and `Product` models with their corresponding schemas and relationships.
- Creates new API endpoints for managing categories and products, restricted to superusers.
- Includes a new Alembic migration script to update the database schema.
- Provides comprehensive tests for the new models and API endpoints.

Frontend:
- Adds new components for creating, listing (hierarchically), and updating categories.
- Adds new routes for the category management pages.
- Updates the generated frontend client to include the new category and product endpoints.
- Adds a link to the categories page in the sidebar.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants