What is the best way to say you love someone for a developer ? Creating an app ! Yes, I created an entire app for the valentine day because I know for sure nobody never gave that to my wife. It's unique and represent the developer that I am so well. For also making some personal improvement, I decided to use a new technology that I did not nothing about Flutter
. I learnt everything I could about Dart
and Flutter
in a month.
For publishing to app store and google play, I use the Codemagic
CI/CD hook. I connected my repository to it.
I explain with all the details how I build the project and my way of working.
The following describe how the project is structured. It's an easy way for discovering the project and the way I organize the code.
Folder's Name | Description of the folder |
---|---|
android | Everything related to the android compilation |
ios | Everything related to the ios compilation |
documentation | Everything related to the documentations |
assets | Regroup the images and files used in the app |
lib | Regroup the source code |
test | Regroup the test |
Folder's Name | Description of the folder |
---|---|
components | Regroup the reusable components |
pages | Regroup the differents screen of the app |
podos | Regroup the objet PO |
utils | Regroup the utils function (loader) |
Role's name | Functions |
---|---|
User (My Wife <3) | An user will see all the content |
As... | I want... | So that... |
---|---|---|
User | I want to see the history of your story | So that I can have discover the event of your life |
User | I want to see your best moments | So that I can see what matter the most |
Connect your phone to the computer and run the debugger at the root of the project.
For building the app for google-store or an APK :
flutter build apk
flutter build appbundle
For building the icon of the app, I use flutter_launcher_icons
and generate everything with the command below :
flutter pub pub run flutter_launcher_icons:main
For removing the build, in case you want to clean the project :
flutter clean
MIT - Copyright © JUSTAL Kevin