Skip to content

AliHussain110/interview_test

Repository files navigation

Speedforce Interview Task

This is a Flutter app built as part of the Speedforce hiring task. It includes a login screen, signup screen, home screen, and profile screen. The app follows best practices for Flutter development, including state management, responsive design, and error handling.


Features

  1. Login Screen:

    • Users can log in using their email and password.
    • Validates email and password fields.
    • Uses static credentials for login:
      • Email: user@speedforce.com
      • Password: password
    • Simulates a mock API call for login.
    • Includes a "Remember Me" feature using Shared Preferences.
    • Displays error messages for invalid credentials or validation errors.
    • Navigates to the home screen upon successful login.
  2. Signup Screen:

    • Allows new users to register with name, email, password, and confirm password fields.
    • Validates all fields:
      • Name: Not empty.
      • Email: Valid format.
      • Password: Minimum length requirement.
      • Confirm Password: Matches the password field.
    • Navigates to the home screen after successful validation.
  3. Home Screen:

    • Displays a welcome message with the user’s email.
    • Shows basic details and total earnings in the header.
    • Includes an invitation to join the app.
  4. Profile Screen:

    • Displays user information fetched from the mock API.
    • Includes a button to Log out.

Dependencies


Screenshots

Splash Screen

Splash Screen[width = 200, height = 200]

Login Screen

Login Screen Login Screen

Signup Screen

Signup Screen Signup Screen

Home Screen

Home Screen

Profile Screen

Profile Screen


Demo Video

Demo Video


Setup Instructions

  1. Clone the repository:

    git clone https://github.com/AliHussain110/interview_test.git
    cd interview_test
    
  2. APK FILE ATTACHED: -see the apk file for preview

  3. Run the app: -easy solution would be if you just download the lib, assets and pub.dependency folder and create a new flutter project in your local pc and paste these file in the folder and do flutter pub get the project will run easily

About

my interview app

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published