I have completed a significant refactor of the entire codebase. The primary goal of this refactor was to improve the overall structure of the code and enhance its readability and maintainability. Here are the key changes:
Directory Structure: The files have been reorganized into separate directories based on their purpose. This includes new directories for components (src/components/), utilities (src/utils/), models (src/models/), and services (src/services/).
Utility Functions: All utility functions have been consolidated in the utils directory and are now imported from an index.js file to streamline import statements.
Constants: Constants that are used across multiple files have been centralized in a constants.js file in the utils directory.
Webpack Aliases: To simplify imports and make them more readable, I've set up Webpack aliases. Now, you can import any file from the src directory using the @src alias, and any file from the assets directory using the @assets alias.
I would appreciate it if you could review these changes. Please pay special attention to the new directory structure, the way modules are imported, and the use of Webpack aliases. Please test the code thoroughly at runtime and make sure there are no bugs or features missing.
Let me know if you have any suggestions for further improvements.
Well, I am closing this and opening it for another branch.
Github somehow wanted this to go to the main branch but I wanted it to be in the dev branch.
I have completed a significant refactor of the entire codebase. The primary goal of this refactor was to improve the overall structure of the code and enhance its readability and maintainability. Here are the key changes:
I would appreciate it if you could review these changes. Please pay special attention to the new directory structure, the way modules are imported, and the use of Webpack aliases. Please test the code thoroughly at runtime and make sure there are no bugs or features missing. Let me know if you have any suggestions for further improvements.