Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrate project to use clean architechture #29

Open
10 tasks
shatanikmahanty opened this issue May 14, 2023 · 0 comments
Open
10 tasks

Migrate project to use clean architechture #29

shatanikmahanty opened this issue May 14, 2023 · 0 comments
Assignees

Comments

@shatanikmahanty
Copy link
Member

shatanikmahanty commented May 14, 2023

To use clean architechture to better represent ocy's coding values and standards.

Part of OCY organizational restructure

Tasks:

  • Maybe use flutter_bloc for state management (To be investigated)
  • Use app wide error reporting (Online reporting firebase crashlytics)
  • Use hive based solutions instead of shared_prefs
  • DRY refactorings
  • Directory restructuring
  • Use classes for widgets instead of functions
  • Remove unnecessary stateful widgets
  • Prepare deep linking module for better suitability with mobile platforms
  • Improve auth module to use listener based arch
  • Use auto router #28

Directory restructuring guide:

🧺 - Barrel file containing exports
📄 - Normal file
📁 - Directory

   mindmap
      root((📁lib))
        📁configurations
          📁 router
          📁 theme
          🧺 configurations.dart
          📄 constants.dart
        📁features
          📁 Feature1
                 📁blocs
                 📁data
                      📁repos
                      📁models
                      📁enums
                 📁presentation
                      📁pages
                      📄otherwidgets.dart
                 🧺 feature1.dart 
        📁utils
          📁mixins
          📁extensions
          🧺utils.dart
       📄 main.dart
       📄 app_builder.dart 
Loading

Most of these changes to be auto included in new flutter projects through ocy flutter copier template

@shatanikmahanty shatanikmahanty self-assigned this May 14, 2023
@shatanikmahanty shatanikmahanty changed the title Migrate project to clean architechture Migrate project to use clean architechture May 14, 2023
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

No branches or pull requests

1 participant