Coder Social home page Coder Social logo

canadafacts's Introduction

Canada Facts

An Android app as the assignment to fetch the data from the given API. Designed with clean architecture guidelines,modular approach, Repository Pattern, MVVM architectural pattern with Android Architecture Components.

Min API Level Supported : 16 (Jelly Bean)

Prerequisite

Before running the project, please check if your gradle version matches the project's version

package-name: com.mvvmclean.trendingrepos
compileSdkVersion = 29
targetSdkVersion = 16
minSdkVersion = 16
buildToolsVersion = "29.0.2"

Development Environment

Android Studio 4.1.2 Build #AI-201.8743.12.41.7042882, built on December 20, 2020 Runtime version: 1.8.0_242-release-1644-b3-6915495 x86_64 VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o macOS 10.15.2

Architecture

The Application is split into a three layer architecture inorder to provide clean separation of concerns - making the code easier to navigate and maintain.

  • Data - Layer that holds APIs, Database, Cache
  • Domain - Layer that holds Use Cases, and Model Objects. Business logic happens here.
  • Application - Layer that holds presentation, Android components, Viewmodels, Dagger components/modules handles Dependency Injection, etc. MVVM exists at this layer.

The three layered architectural approach is majorly guided by clean architecture which provides a clear separation of concerns with its Abstraction Principle.

Testing

  • app/test/ - Unit tests - test -> Right click on package name(com.demo.aboutcanada) -> Run Test In 'com.demo.aboutcanada'
  • app/androidTest/ - Instrumentation tests - androidTest -> Right click on package name(com.demo.aboutcanada) -> Run Test In 'com.demo.aboutcanada'

Libraries

Following are the Libraries used:

Extras

Gradle Dependencies

  • dependencies.gradle - Centralized versioning of gradle dependencies in a global file

Resource Values

  • Fonts
  • Dimension & String Values
  • Themes & Styles
  • Network Config

canadafacts's People

Contributors

ashishbudhathoki avatar

Watchers

 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.