This Todo App demonstrates modern Android development with Hilt, Coroutines, Flow, Jetpack (Room, ViewModel,Retrofit), and Material Design based on MVVM architecture.
These are some screenshots of the app
This is a native android app that , helps you to create todos and view them but here comes the interesting part the todos created are persistent they are stored in a sqlite database which acts as a cache and the actual data is stored in a postgresql
database.
The backend is used as a integration for retrofit and okhttp3 , the backend api serves as a primary source of truth for the todo. The tech stack used here :
The backend is hosted at Heroku
as fastapi
comes with swagger
fastapi has created documentation for the api.
- Minimum SDK level 28
- Kotlin based,
- Coroutines
- Flow for asynchronous.
- Jetpack
- Lifecycle: Observe Android lifecycles and handle UI states upon the lifecycle changes.
- ViewModel: Manages UI-related data holder and lifecycle aware. Allows data to survive configuration changes such as screen rotations.
- Room: Constructs Database by providing an abstraction layer over SQLite to allow fluent database access.
- Hilt: for dependency injection.
- Architecture
- MVVM Architecture (View - ViewModel - Model)
- Retrofit2 & OkHttp3: Construct the REST APIs and paging network data.
- Moshi: A modern JSON library for Kotlin and Java.
- Material-Components: Material design components for building ripple animation, and CardView.
Being the first app , It's good 😉