Git Product home page Git Product logo

cointrackerapp's Introduction

coin_tracker_app

By Marcelo Villablanca

This project is a cryptocurrency tracking app made with flutter that consumes coinapi.io REST API. It was develped following TDD + ChangeNotifier + Provider in a Clean Architecture implementation for Flutter.

Running the project

CoinListPage Loading data Coin Details
Imgur1 Imgur2 Imgur3

Running the project

First of all, you have to create a new file in the root folder called "keys.json" and add your Coinapi.io APIKEY as:

{
"coinAPIKEY": "YOUR_API_KEY"
}

and add "--dart-define-from-file=api-keys.json" when calling "flutter run".

flutter run --dart-define-from-file=api-keys.json

The next step is to generate the necessary code to run the app with:

dart run build_runner build --delete-conflicting-outputs

Finally you can run the app with

flutter run --dart-define-from-file=api-keys.json

Tests

To run all the test for this project, run the following:

flutter test --dart-define-from-file=keys.json

Use Cases

The app have 3 use cases.

Get list of assets with icon

To showing coin list on main screen with its icon.

Get list of time periods

To API options to retrive exhange rate data.

Get historical exchange rate

To show a candle chart for each coin in a given time window of time.

Packages

This project uses the following packages:

  • go_router (^10.1.2): To navigate through screens in a declarative way.

  • provider (^6.0.5): To share data between multiple screens.

  • responsive_sizer: (^3.2.0): To build UI for every device screen size.

  • get_it: (^7.6.4): To Inject Dependencies

  • candlesticks: (^2.1.0): It provides a interactive candlestick chart to display assets prices.

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.