8 Commits
Author SHA1 Message Date
furyhawk 63e946f0ad refactor: Improve code formatting and organization in test files and migration scripts 2026-05-11 14:57:24 +08:00
furyhawk 255a6f0f71 feat: Implement IoT logging endpoint and related models/schemas 2026-05-11 14:39:03 +08:00
furyhawk 1b3a701c5c refactor: Reorganize API router imports 2024-06-02 15:17:02 +08:00
furyhawk 8e646eb2f3 refactor: Reorganize API router imports
This commit reorganizes the imports in the `api_router.py` file to group related endpoints together. This improves code readability and maintainability.
2024-06-02 15:04:09 +08:00
furyhawk 45689de660 chore: Add support for humidity and pressure endpoints
```
2024-05-04 15:36:14 +08:00
furyhawk f10544fd36 chore: Add support for creating pets in API 2024-05-03 21:31:51 +08:00
furyhawk 74ac02b894 feat: Add support for creating pets
This commit adds support for creating pets in the API. It includes the following changes:
- Added a new endpoint in the `api_router.py` file to handle pet creation
- Added a new model `Pet` in the `models.py` file to represent a pet
- Added a new request schema `PetCreateRequest` in the `requests.py` file to validate pet creation requests
- Added a new response schema `PetResponse` in the `responses.py` file to represent a pet response

These changes allow users to create pets and retrieve information about them.
2024-05-03 19:37:25 +08:00
furyhawkandGitHub d7f1863023 Initial commit 2024-05-03 11:52:23 +08:00