Skip to content

The lean architecture with Riverpod will help us speed up app development.

License

Notifications You must be signed in to change notification settings

ntminhdn/Flutter-Riverpod-Lean-Architecture

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

YOUR_PROJECT_NAME

The simple Flutter project

Test Coverage

Including Unit Tests, Widget Tests, Golden Tests, and Integration Tests

coverage

Screenshots

Chat Page

Light Dark

Contact List Page

Light Dark

Register Page

Light Dark

My Page

Light Dark

Getting Started

Requirements

  • Dart: 3.5.3
  • Flutter SDK: 3.24.3
  • CocoaPods: 1.15.0

How to run app

  • cd to root folder of project
  • Run make gen_env
  • Run make sync
  • Run app via VSCode or using command make run_dev
  • Enjoy!

Starting new project

1. Config multi-flavors and Firebase

2. Secrets configuration

  • Define secret constants in env.dart and JSON files in folder dart_defines including:
    • dart_defines/develop.json
    • dart_defines/qa.json
    • dart_defines/staging.json
    • dart_defines/production.json

For example:

{
  "FLAVOR": "develop",
  "APP_BASIC_AUTH_NAME": "admin",
  "APP_BASIC_AUTH_PASSWORD": "admin"
}

3. Other configs

  • designDeviceWidth, designDeviceHeight, materialAppTitle, taskMenuMaterialAppColor, systemUiOverlay, mobileOrientation, tabletOrientation in constant.dart

4. Update README.md

5. Setup Fastlane (optional)

SLACK_URL = "https://hooks.slack.com/services/xxx"
APP_CENTER_TOKEN = "xxx"
APPLE_TOKEN = "xxx"
FIREBASE_TOKEN = "1//xxx"

6. Setup Jenkins (optional)

7. Setup Lefthook (optional)

Note

1. Upgrading Flutter

About

The lean architecture with Riverpod will help us speed up app development.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published