Skip to content

Efhemo/football

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

54 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Football

Football is an attempt to build a full featured flutter app that shows favourite league tables, teams, standings, live scores and generally sport news. The focus of this project is to use different widgets available on flutter and especially on demonstrating how to structure your code, design your architecture, and the eventual impact of adopting these patterns on testing and maintaining your app.

Getting Started

Clone the repository. The app make use of football-data and New API. click the link to get your api key if you dont have.

  • Create a file at the root of your project call it secrets.json
  • Copy and paste below json into the file.
{
  "news_api_key": "your-news-api-key",
  "football_api_key": "your-football_api_key"
}

UI

UI inspired by here and here

alt text

Libraries

  • Retrofit For Dart for easy CRUD request
  • dio A powerful Http client for Dart, which supports Interceptors, Global configuration, FormData, Request Cancellation, File downloading, Timeout etc.
  • get it Service Locator for Dart and Flutter projects
  • dartz Functional programming in Dart
  • hive Super fast database written in pure Dart

Todo

The app in this project aims to be simple enough that you can understand it quickly, but complex enough to showcase difficult design decisions and testing scenarios.

There are some improvement i intend to make

  • Using BLOC for better state management
  • Building setting screen
  • Integrate firebase (chat, room or group) for user interaction on the app
  • Animations
  • Test

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages