Skip to content

marcmacias96/maceio_shopping_parking

 
 

Repository files navigation

Maceio Shopping app

Mobile app using latest Flutter 2.8 and latest.

UI Design

Home page

credit-card

success

UX Experience

UX Experience

UX

Development

Running Local

  • Obtain necessary files from the flutter application
$ flutter pub get
$ flutter packages pub run build_runner build --delete-conflicting-outputs
  • Run flutter application

enviroments = {

  • main_dev.dart
  • main_prd.dart
  • main_stg.dart

}

$ flutter run lib/{enviroment}

Linting

Before committing any code, make sure the code is as clean as possible without linting errors.

https://dart.dev/guides/language/analysis-options

$ dart analyze {File_to_analyze}

Example:

$ dart analyze lib/infrastructure/user/user_repository.dart
Analyzing user_repository.dart...
No issues found!

Testing

Make sure to include basic unit/integration tests where possible.

Unit tests

SignIn an SignUp test

  • Note: You must change the email in SignUp to create a new account.
$ flutter test test/infrastructure/signin_signup_test.dart
00:03 +0: SignUp test
00:05 +1: SignIn test
00:06 +2: All tests passed!

User test

$ flutter test test/infrastructure/user_repository_test.dart
00:03 +0: Get all genres test
00:03 +1: Get user test
00:04 +2: Patch phone number test
00:04 +3: Save user address test
00:06 +4: Patch user address test
00:07 +5: Delete user address test
00:09 +6: All tests passed!

Wallet test

$ flutter test test/infrastructure/wallet_repository_test.dart 
00:03 +0: Save credit card test
00:03 +1: Patch credit card test
00:03 +2: Delete credit card test
00:03 +3: All tests passed!

Parkinglot test

$ flutter test test/infrastructure/parking_lot_repository_test.dart 
00:05 +0: Ticket status test
00:06 +1: Save ticket status test
00:06 +2: Delete ticket status test
00:06 +3: Get service fee tes
00:07 +4: Ticket details test
00:07 +5: Get user tickets test
00:08 +6: All tests passed!

Integration tests

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Dart 99.0%
  • HTML 0.6%
  • Ruby 0.2%
  • Swift 0.1%
  • Shell 0.1%
  • Kotlin 0.0%