This PR addresses #17 with the fact that we don't have a well structured app file system. So I did spend some time thinking about the best way to structure this project. As we do know that the entry point of this project is the lib/ directory, I've structure the files with that directory in order to make a little sense. Here is how the lib/ folder is structured:
constants/ contains all constant variables declarations
bloc/ consist of the business logic components
models/ consist of data models
services/ consist the injectable services for this project
enums/ has the global enumerators
views/ consist of various pages or screens with their respective components
main.dart is still the entry point. :100:
Also, I could notice that most of the file names and what it contains do not follow the effective Dart style which is the best practices of using the Dart programming language. So, I did apply this practice to our codebase.
I do encourage y'all @lateofrederick, @ekyeremeh7, @norbertkross, @janim2 to accept this changes and henceforth do work it.
Thanks :)
This PR addresses #17 with the fact that we don't have a well structured app file system. So I did spend some time thinking about the best way to structure this project. As we do know that the entry point of this project is the lib/ directory, I've structure the files with that directory in order to make a little sense. Here is how the lib/ folder is structured:
constants/ contains all constant variables declarations bloc/ consist of the business logic components models/ consist of data models services/ consist the injectable services for this project enums/ has the global enumerators views/ consist of various pages or screens with their respective components main.dart is still the entry point. :100:
Also, I could notice that most of the file names and what it contains do not follow the effective Dart style which is the best practices of using the Dart programming language. So, I did apply this practice to our codebase.
I do encourage y'all @lateofrederick, @ekyeremeh7, @norbertkross, @janim2 to accept this changes and henceforth do work it. Thanks :)