Skip to content

Delthoid/flutter_skill_test_patch

Repository files navigation

Fake Store - Flutter Dev Skill Test

This project is a skill assessment requirement.

Prerequisites

Before starting, ensure you have the following set up:

  1. Flutter: Follow the setup guide here: Flutter Installation
  2. Android Emulator: If not installed, follow this guide: Managing Android Virtual Devices

This project was built with Flutter 3.27.1 and Dart 3.6.0.

Note: This tutorial is designed for Windows computers.


How to Run the App

Important Note

The FakeStore API may occasionally be unresponsive. If this happens, an error message with a retry button will appear in the app. keikaavousi/fake-store-api#50

Steps

  1. Clone the Repository

    • Click the Code button in the repository.
    • Copy the repository URL by clicking the Copy (image) button.
    • Open your terminal and navigate to your desired folder.
    • Run the command:
      git clone <REPOSITORY_URL>
      Example: image
    • Wait for the cloning process to finish.
  2. Open the Project in Your IDE

    Visual Studio Code

    • Click File > Open Folder. image
    • Navigate to the cloned repository folder and select it.
    • You must be inside the repository folder, as shown in this screenshot, then click the Select Folder button. image
    • Open the terminal in VS Code and run:
      flutter pub get
      image image
    • Wait for dependencies to be resolved. Errors should disappear. image
    • Press F5 to run the app.
      • If prompted, select the target device and press Enter.
      • If no prompt appears, press F5 again and choose Dart & Flutter.
    • Wait for the app to launch. image image

    Android Studio

    • On the welcome page, click Open and navigate to the cloned repository. image
    • If a warning appears, click Trust Project. image
    • Wait for the project to finish analyzing.
    • Select a device by clicking the dropdown. image
    • Click the Run button. image
    • If you have chosen an emulator from the previous step, click the Running Devices menu to see the app running.
  3. Run on Emulator or Browser

    • For emulators: Use the Running Devices menu to interact with the app.
    • For browsers or other devices: Verify the app on the selected platform.

Success

You have successfully run the app! If you encounter any issues, refer to the setup guides or debug as necessary.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published