This repository was archived by the owner on Jan 1, 2026. It is now read-only.
Commit 82ebe03
Add products endpoint (#11)
* Remove email and order management endpoints, schemas, and related utilities
- Deleted email confirmation endpoint and its associated request schema.
- Removed order management endpoint and its related data.
- Eliminated email-related schemas and utilities, including email sending functions and configuration.
- Cleaned up user-related schemas for login and registration.
- Removed email confirmation HTML template.
- Deleted utility functions for security, string manipulation, and hashing.
- Cleared out related test cases for authentication, email, and utility functions.
* Refactor API structure and remove deprecated routes
- I have no idea if anything works
- Deleted unused model and route files from app/models and app/routes.
- Removed home route and associated test cases.
- Cleaned up version 1 and version 2 API routes, including endpoints for products and categories.
- Introduced new service layer for product operations with pagination support.
- Updated database utility functions for asynchronous SQLAlchemy sessions.
- Enhanced configuration management with Pydantic settings.
- Added new schemas for product listing and pagination.
- Implemented error handling in product retrieval endpoints.
* Refactor product endpoint imports for clarity
* Refactor product endpoint for improved debugging and error handling; add launch configuration for FastAPI
* Bump Python version to 3.12.11 in workflows and pyproject.toml
* Fix regex parameter in language dependency for i18n
* Update workflow to ensure fail-fast strategy is disabled for unit tests
* Refactor unit test workflow to disable fail-fast strategy; update config for DEBUG environment variable handling
* Update unit test workflow to ensure fail-fast strategy is disabled
* Refactor get_products endpoint to remove debug print statements and improve error handling
* Implement create_product endpoint with validation and error handling
---------
Co-authored-by: Vianpyro <[email protected]>1 parent 254cf9c commit 82ebe03
File tree
95 files changed
+906
-252
lines changed- .github/workflows
- .vscode
- app
- api
- models
- schemas
- v1
- v2
- services
- utils
- v1
- endpoints
- v2
- endpoints
- core
- database
- functions
- customizations
- pagination
- products
- models
- routes
- v1
- endpoints
- v2
- utility
- tests
- test_routes/v1
- test_utility
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
95 files changed
+906
-252
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
59 | | - | |
| 59 | + | |
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| 22 | + | |
22 | 23 | | |
23 | 24 | | |
24 | | - | |
| 25 | + | |
25 | 26 | | |
26 | 27 | | |
27 | 28 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
15 | 17 | | |
16 | 18 | | |
17 | | - | |
| 19 | + | |
| 20 | + | |
18 | 21 | | |
19 | 22 | | |
20 | | - | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
21 | 27 | | |
22 | | - | |
23 | | - | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
24 | 35 | | |
25 | 36 | | |
26 | 37 | | |
| |||
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Whitespace-only changes.
Whitespace-only changes.
0 commit comments