Skip to content

rafeyosa/gameps

Repository files navigation

Introduction

Welcome to the GamePS Project! This project is built using Flutter and GetX as state-management to create mobile application to browse game in Playstation 5

Getting Started

To get started with this project, ensure you have the following prerequisites:

  • Flutter SDK: Installation Guide
  • Dart SDK: Included with Flutter
  • An IDE (Optional but recommended): VS Code, Android Studio, or IntelliJ IDEA

📒 Index

🔰 About

This project was assignment to build a mobile application to browse the latest released Playstation 5 games, and view more details about said games.

🔧 Development

Below you can find about development environment and build

🔩 Environment

API_KEY=<your key>
API_URL=api.rawg.io  

🔨 Build

To build APK file :

flutter build apk --dart-define API_KEY=<your key> --dart-define API_URL=api.rawg.io 

To build AAB file :

flutter build appbundle --dart-define API_KEY=<your key> --dart-define API_URL=api.rawg.io  

To build IPA file :

flutter build ipa --dart-define API_KEY=<your key> --dart-define API_URL=api.rawg.io

🔎 Run Testing

This project uses Flutter's built-in testing framework. Follow the steps below to run tests.

  • Open Terminal
  • Navigate to the root directory of the project
  • Run build_runner command to generate code based on annotations
dart run build_runner build
  • Run the following command
flutter test --coverage

This will generate a coverage directory with the test coverage report. To view the report in a human-readable format, you can use the lcov tool:

genhtml coverage/lcov.info -o coverage/html

Then open coverage/html/index.html in your web browser to view the coverage report. Screenshot 2024-06-12 at 19 18 20

About

Simple App Game List (GetX)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published