Skip to content

GeoffreyOnyigwaMatieso/HarryPoter

Repository files navigation

HarryPoter

Android App that uses Retrofit and Jetpack Compose to easily consume a HarryPotter API and display information about characters. The app allows users to browse a list of characters and view detailed information about each one. The app has a clean, intuitive user interface built with Jetpack Compose, making it easy to use and navigate.

Libraries

  • Retrofit2
  • Coil
  • Compose Navigation
  • Hilt Navigation
  • LiveData
  • ViewModel
  • Dagger Hilt

Features/Stories

  • Show a list of characters
  • See the details of character
  • Search for a specific character by name or house
  • Unit Test that checks if API intergration is Working Properly

API Reference

Live HarryPotter list

  GET https://hp-api.onrender.com/api/characters/
Base Url Parameter Type
https://hp-api.onrender.com/api/ characters string

Search for a specific character by name or house

  GET https://hp-api.onrender.com/api/characters/house/gryffindor
Base Url Parameter Type Description
https://hp-api.onrender.com/api/ house/:house string Required. house

🚀 Mad Scorecard


🍴 Stable Samples

Sample Description
master Dependency injection with Koin
dagger-hilt Dependency injection with Dagger-Hilt
app-startUp Initializing the app when it starts
compose Modern toolkit for building native UI

💎 Architecture

Harry Potter does not use a Local database.

architecture

Documentation

Documentation

![App Screenshot] img.png img_1.png img_2.png

Get Your APK Here:

https://drive.google.com/file/d/1cVbot1fJ66oIiz6Sxap74zZaZS-0BfO5/view?usp=sharing

About

An App That Consumes HarryPotter API

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages