GithubHelp home page GithubHelp logo

ilkeraslan / dota2compose Goto Github PK

View Code? Open in Web Editor NEW
15.0 1.0 7.0 362 KB

An Android app to show dota2 related info using JetpackCompose.

Kotlin 100.00%
jetpack-compose stateflow hilt-android kotlinx-serialization coroutines mvp-pattern retrofit rxkotlin

dota2compose's Introduction

dota2compose

An app to show dota2 related information using JetpackCompose.

heroes teams

API

The data is provided by both OpenDota API and Steam API. In order to start development, you need to get a Steam API Key, and define an environment variable with the name "STEAM_API_KEY".

Stack

  • JetpackCompose
  • Coil
  • Coroutines
  • Flow
  • Hilt
  • OkHttp
  • Retrofit
  • kotlinx.serialization
  • RxKotlin

Contributing

Anyone wants to practice JetpackCompose skills may feel free to contribute to the project.

If you want to work on an issue, please ask first so that I can assign it to you. If you have an idea for improvement just create an issue in order to discuss together.

Download

Get it on Google Play

dota2compose's People

Contributors

ahmetkca avatar ilkeraslan avatar imnirdst avatar indyfromoz avatar v9vek avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

dota2compose's Issues

Add PlayersScreen

We should have a Players Screen which is capable of showing professional Dota2 players.

In this task:

  • This Screen should be integrated into Bottom Navigation like HeroesScreen and TeamsScreen.
  • The Screen should show the players by their rank in descending order.

The Screen should be built using Jetpack Compose.

This issue is blocked by #4, so you can mock a list of 20 players in a separate file and show that. When #4 is resolved, another issue will be created to integrate the real repository.

Create playersByRank method

We should create a playersByRank() method inside the PlayersRepository which will get players by their rank.

This repository should:

  • Have a method named playersByRank() which makes an API call to this endpoint.
  • This method should return a list of account id's of the players.

Add HeroDetails Screen

We should have a HeroDetails Screen which is capable of showing a Hero's details.

Specifically this screen should have:

  • Hero's image
  • Hero's name and type
  • Some of the main stats of a Hero (like baseHealth, moveSpeed, baseMana etc.)

The Screen should be built using Jetpack Compose.

Add TeamDetails Screen

We should have a TeamDetails Screen which is capable of showing a Team's details.

Specifically this screen should have:

  • Team's name and stats

The Screen should be built using Jetpack Compose.

Introduce LeaugesRepository

Scope

We would like to show the available dota2 leagues information on a dedicates screen, thus we need a repository to fetch the data.

User Stories

As a user, I can:

  • Get a list of Leagues.
  • Get a given League.
  • Get the matches of a League.
  • Get the teams of a League.

Endpoints

The repository will return null for each method for now.

Introduce LeaguesAPI

Scope

We would like to show the available dota2 leagues information on a dedicates screen, thus we need a repository to fetch the data.

User Stories

As a user, I can:

  • Get a list of Leagues.
  • Get a given League.
  • Get the matches of a League.
  • Get the teams of a League.

Endpoints

https://docs.opendota.com/#tag/leagues

Introduce feature packaging

We should organize the packaging by feature, not by layer. For instance, Teams related components go into teams package.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.