Skip to content

Refactor main.py and implement the rules of OOP#179

Open
anywindo wants to merge 1 commit intodavesc63:mainfrom
anywindo:main
Open

Refactor main.py and implement the rules of OOP#179
anywindo wants to merge 1 commit intodavesc63:mainfrom
anywindo:main

Conversation

@anywindo
Copy link

@anywindo anywindo commented Jan 1, 2026

Refactored main.py to delegate core logic to new modules for device management, tunnel, location, and external API services. Added src/core and src/web packages with dedicated service classes and Flask app factory. Implemented Object-Oriented Programming and improved maintainability and separation of concerns.

Refactored main.py to delegate core logic to new modules for device management, tunnel, location, and external API services. Added src/core and src/web packages with dedicated service classes and Flask app factory. Implemented Object-Oriented Programming and improved maintainability and separation of concerns.
@anywindo
Copy link
Author

anywindo commented Jan 1, 2026

This sounds like a total refactor, but it keeps everything intact ;)

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