Progress of migrating from Firebase to Supabase Wiki
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.
Design
- Groceries Store Design
- Background vector created by freepik - www.freepik.com
- Food vector created by terdpongvector - www.freepik.com
Architecture
- 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.
Android Studio Bumblebee or later SDK 23 or later
See Supabase Wiki to keep track the process Database Schema:
categories
id | image | name | _id |
---|
line_items
id | lineItemId | productid | quantity | subtotal | orderId |
---|
orders
orderId | status |
---|
products
_id | name | description | price | image | category | nutrition | productid |
---|
users
id | name | phone | isOrderCreatedNotiEnabled | isPromotionNotiEnabled | isDataRefreshedEnabled | address |
---|
Support it by joining stargazers for this repository. β
Also, follow me on GitHub for my next creations! π€©
Thanks goes to these wonderful people (emoji key):
Saurabh Patel π» |
Aditya Gupta π¨ π» π‘ |
Dmitriy π» |
Devendra Varma π» |
Amartya π¨ |
NLC π¨ π» |
Fredrik Henricsson π» |
This project follows the all-contributors specification. Contributions of any kind welcome!