chornerman / survey-flutter

Nimble Flutter internal certification

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Survey

Nimble Flutter internal certification

Prerequisite

Getting Started

Set up the project

To set up this project locally, follow the steps below:

  • Create .env files inside the project's root directory and add the required environment variables into them. Take a look at the .env.sample to see the list of all required environment variables
    • To set up the staging environment, create .env.staging
    • To set up the production environment, create .env
  • Generate Flutter files using the below command:
fvm flutter packages pub run build_runner build --delete-conflicting-outputs

Run the app

Staging

To run the staging flavor app, use the below command:

fvm flutter run --flavor staging

Production

To run the production flavor app, use the below command:

fvm flutter run --flavor production

Run tests

Unit tests

To run all unit tests, use the below command:

fvm flutter test

Integration tests

To run integration tests with an emulator, use the below command:

fvm flutter drive --driver=integration_test_driver/integration_test_driver.dart --flavor staging --target=integration_test/{test_file}.dart

Screenshots

  • Onboarding

  • Home

  • Taking survey

About

Nimble Flutter internal certification


Languages

Language:Dart 98.4%Language:Ruby 1.4%Language:Swift 0.2%Language:Kotlin 0.0%Language:Objective-C 0.0%