Skip to content

FirebaseApp build with Firebase Authentication, Cloud Firestore, Pagination Library, MVVM Architecture Pattern and Dagger2.

Notifications You must be signed in to change notification settings

alexmamo/FirebaseApp-Clean-Architecture-MVVM

Repository files navigation

FirebaseApp - Clean Architecture with MVVM.

FirebaseApp, is an aplication build using Java 8 as an example for integrating two very important Firebase services: Firebase Authenication and Cloud Firestore.

The authentication process is based on using a Google account. To keep things simple, the app uses a very simple database schema that look like in the image below:

alt text

For getting the data, the app uses LiveData and the pagination is build using the Pagination Library together with MVVM Architecture Pattern. The app has a search feature which also uses pagination. For dependency injection the app uses Dagger2 and data binding to bind UI components in the layouts.

For displaying the data, the app uses Android Navigation Component.

To make this app work, follow the instructions given in the official documentation regarding how to add Firebase to your project. Add the JSON file in your app folder, add some dummy products and see its features.

See it on youtube: https://www.youtube.com/watch?v=esYPwbGW7YY

About

FirebaseApp build with Firebase Authentication, Cloud Firestore, Pagination Library, MVVM Architecture Pattern and Dagger2.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages