Skip to content

Refactor endpoints and models#53

Merged
cmsato09 merged 16 commits into
developmentfrom
2025-06-23-router
Jul 2, 2025
Merged

Refactor endpoints and models#53
cmsato09 merged 16 commits into
developmentfrom
2025-06-23-router

Conversation

@cmsato09
Copy link
Copy Markdown
Owner

@cmsato09 cmsato09 commented Jul 2, 2025

Refactoring the endpoint routes and data model layer to improve organization

Endpoint Changes

  • API endpoints have been refactored into specific routes within the src/app/routers/ directory. Previously were all in one place in src/app/main.py

Data Model Changes

  • All DQM1-related models, previously in src/app/models.py, have been moved into a dedicated src/app/models/dqm1/ file directory.
  • Models are now separated into different files: item.py, monster.py, and skill.py.
  • The model_enums.py file has been relocated to src/app/models/dqm1/ and renamed to enums.py
  • The src/app/models.py has been deleted.
  • Import statements throughout the application and test suite have been updated to reflect the new file structure.

@cmsato09 cmsato09 merged commit a8b2d9d into development Jul 2, 2025
12 checks passed
@cmsato09 cmsato09 deleted the 2025-06-23-router branch July 2, 2025 01:13
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.

1 participant