Giter Club home page Giter Club logo

compose-blockchain's Introduction

Blockchain App

This is an application that consumes the API of Blockchain and display a linear chart of the bitcoin transactions per second on a given range & other stats. The graph is made with whimsical.

GitHub Cards Preview

Tech Stack

This project is monolithic(for now) and has only one screen. However, all inner packages are well organized in order to be scalable and modularized in the following days. It uses MVVM as Software Design Patter and is using Jetpack Compose for the UI.

  • :core:functional-programming contains the Either sealed class & some helper methods. Either is the "wrapper" for handle Either an Error or a Success structure.
  • :core:network contains some middlewares & extensions for execute safe retrofit calls (I write 3 articles about it -> Create a safe retrofit calls extension part I, II, & III)
  • :core:network/middlewares middlewares are going to act as a firewall before executing any retrofit call. Only if all the middlewares are supplied then the retrofit call is allowed to be executed.
  • :utils has utilities interfaces like a ResourceProvider & ConnectivityUtils, who's implementations will be in the app module.
  • :features:home Home is our only feature (for now), it has it's data sources, mappers & repositories interfaces for prepare the data and send it to the HomeViewModel.
  • :ui:components: contains our composables.
  • :tests unit tests for repository, datasources, mappers, etc. I also write articles about this. Unit Tests & Instrumented Tests
  • :app module contains our HiltApplication in charge to create the app DI graph and the interface implementations from our libraries.

App Screenshot v1.0.0

GitHub Cards Preview

Development setup

You require at least Android Studio Arctic Fox | 2020.3.1 Build #AI-203.7717.56.2031.7583922, built on July 26, 2021 for run this project. No API Keys required.

Libraries

  • Application entirely written in Kotlin
  • Asynchronous processing using Coroutines
  • Uses Dagger-Hilt for dependency Injection
  • Uses Jetpack Compose for latest declarative UI features
  • Uses mockk for mocking objects, interfaces & more.
  • Uses JUnit4 for unit tests assertions & more.

๐Ÿ“ƒ License

Copyright 2021 Christopher Elias

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

compose-blockchain's People

Contributors

christopherme avatar

Stargazers

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

Watchers

 avatar  avatar

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.