Skip to content

TheBlackBit/RickAndMorty

Repository files navigation

RickAndMorty

App that shows characters of Rick And Morty.

Maintainability Test Coverage

demo

Configuration

After cloning the repository you have to create the file secrets.defaults.properties in the root of the project with the next properties:


Looks like this:

example

The ALIAS, KEY_PASS, KEY_ALIAS keys are optional, if you want to run the app in build type release but you have to generate a keystore and store it in app module with the name keystore.jks and when you generate your keystore.jks add the keys that you store in secrets.defaults.properties.

Modularization

  • :build-logic
  • :app
  • :core:local-storage
  • :core:network
  • :core:model
  • :core:util
  • :core:testing
  • :core:resources
  • :feature:character

build-logic

The build-logic module contains all the gradle configurations. See more.

app module

Contains the Application class and the Launcher Activity.

local-storage module

Contains the local storage with the Room library.

network module

Contains the networking using GraphQl with Apollo3 client library.

model module

Contains model classes.

util module

Contains common Util classes.

testing module

Contains helper classes for unit test and instrumentationTest.

resources module

Contains all the resources of the app in order to have a single source of truth.

character module

Contains the Character feature with clean architecture and MVVM architectural pattern (All the features has the same structure).

Catalogs

Catalogs is implemented in order to handle all the libraries.

Dependency injection

For dependency injection Dagger hilt is used

Cache

cache is implemented when the device is offline using Room

Pagination

Pagination implemented with Paging3

Fastlane

Fastlane is used in order to handle CI/CD

Technologies stack

  • Kotlin
  • Jetpack Compose
  • MVVM
  • Dagger Hilt
  • Flows
  • Paging3
  • Graphql + Apollo3
  • Kotlin coroutines
  • Fastlane

About

App that shows characters of Rick And Morty.

Resources

Stars

Watchers

Forks

Packages

No packages published