fejd / android-groceries-store

A Groceries Store app with basic order flow. πŸ• Help you learn modern Android development skills in real production environment. ❀️

Home Page:https://hieuwu.github.io/android-groceries-store/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

πŸš€ Groceries Store

All Contributors

Android CI

Groceries Store

Download on Google Play Store

About

Groceries Store is a project to help people order grocery online. The main purpose of this project is to demonstrate modern Android development skills in real production environment, reduce the learning curve when jump into Android development world.

UI Design & Architecture

Design

Architecture

MAD Scorecard:

Caption

Libraries

  • Glide - Loading images.
  • Timber - Logging.
  • Retrofit2 - Construct the REST APIs and paging network data.
  • Moshi - A modern JSON library for Kotlin and Java.
  • Hilt for dependency injection.
  • JetPack
    • Lifecycle - dispose of observing data when lifecycle state changes.
    • ViewModel - UI related data holder, lifecycle aware.
    • Room Persistence - construct a database using the abstract layer.

Setup

Android Studio

Android Studio Bumblebee or later SDK 23 or later

Firestore

  1. Create your Firebase account and setup your own Google service following instruction from Firebase
  2. Update the properties in each collection as below
  • products

    • category: reference (to specific category)
    • description: string
    • id: string
    • image: string
    • name: string
    • nutrition: string
    • price: number
  • orders

    • address: string
    • lineItems: array
    • total: number
  • categories

    • description: string
    • image: string
    • name: string
  • users

    • address: string
    • email: string
    • name: string
    • phone: string
  1. If you have any changes in the Firestore collections, feel free to update the FirebaseStoreConstant.kt file

Find this repository useful? ❀️

Support it by joining stargazers for this repository. ⭐
Also, follow me on GitHub for my next creations! 🀩

Contributors ✨

Thanks goes to these wonderful people (emoji key):

Saurabh Patel
Saurabh Patel

πŸ’»
Aditya Gupta
Aditya Gupta

🎨 πŸ’» πŸ’‘
Dmitriy
Dmitriy

πŸ’»
Devendra Varma
Devendra Varma

πŸ’»
Amartya
Amartya

🎨
NLC
NLC

🎨 πŸ’»
Fredrik Henricsson
Fredrik Henricsson

πŸ’»

This project follows the all-contributors specification. Contributions of any kind welcome!

About

A Groceries Store app with basic order flow. πŸ• Help you learn modern Android development skills in real production environment. ❀️

https://hieuwu.github.io/android-groceries-store/

License:MIT License


Languages

Language:Kotlin 100.0%