mrizwan18 / FurnitAR

Ecommerce Android Furniture app with an integrated AR experience. | ARCore
MIT License
20 stars 8 forks source link

Firebase structure #6

Closed DK-Developer closed 4 years ago

DK-Developer commented 4 years ago

what is the structure of firebase database

mrizwan18 commented 4 years ago

So the database structure is as follows:

cart:

id: id of the cart quantity: quantity of products user: userID

items:

description: images: In case isAR is true, 0th index is a JPEG/PNG image to be displayed and 1st index is the google poly 3D model that is being rendered by the app using Sceneform. In case if isAR is false, the array is of size 1 where 0th index is just a JPEG/PNG to be displayed

     isAR:
     name:
     price:
     quantity:

purchase_history:

id: id of the cart quantity: quantity of products user: userID

honguyen1608 commented 4 years ago

Pls share me your firebase structure photo

mrizwan18 commented 4 years ago

image image image image

hadat312 commented 4 years ago

How to replace your cloud firestore to my cloud firestore? thanks!