OpenCodeyard / ocyclient

Official client side application of Open Codeyard
MIT License
16 stars 13 forks source link

Migrate project to use clean architechture #29

Open shatanikmahanty opened 1 year ago

shatanikmahanty commented 1 year ago

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

Part of OCY organizational restructure

Tasks:

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 

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