Closed onowb closed 6 years ago
"cartProducts" : {
"-LDVbMy8xSH9RA3YGWiM" : {
"product" : {
"favourite" : false,
"productAdded" : 1514282078,
"productCategory" : "Smartphone",
"productDescription" : "Fullscreen Display, Aspect Ratio: 18:9, 3D Corning Gorilla Glass 5, Always-on Display, 100% DCI-P3 Coverage, 100000:1 Super Contrast Ratio, True Black Level, Full 24-bits Depth or 16.77 Million Colors",
"productId" : "PROD_SJUw2cJQf",
"productImageUrl" : "https://boygeniusreport.files.wordpress.com/2017/06/google-pixel-2-concept.jpg?quality=98&strip=all&w=640",
"productName" : "Google Pixel 2 XL Black 64GB",
"productPrice" : 63897,
"productQuatity" : "3",
"productSeller" : "Google",
"ratings" : 1
},
"productId" : "-L1HEh4u0KBF1eMH_gft",
"userId" : "-LDVawHIlXMu0ceeqPIE"
}
},
"clients" : {
"-L1MN8igof2BizQB3F_0" : {
"emailId" : "ismail@gmail.com",
"isAdmin" : false,
"location" : {
"lat" : 40.149114,
"lon" : -94.50073
},
"password" : "ismail",
"phoneNumber" : "8124794942",
"userName" : "Ismail"
}
},
"favouriteProducts" : {
"-LEArmvwq0sKn-oZirQd" : {
"product" : {
"favourite" : false,
"productAdded" : 1514291542,
"productCategory" : "Smartphone",
"productDescription" : "The iPhone X models have a 5.8\" (diagonal) widescreen LED-backlit True Tone, wide color (P3) \"Super Retina\" with 3D Touch and a 2436x1125 native resolution at 458 ppi",
"productId" : "PROD_ryA8baJmz",
"productImageUrl" : "https://boygeniusreport.files.wordpress.com/2017/10/iphone-x-in-hand.jpg?quality=98&strip=all&w=640",
"productName" : "Apple iPhone X (Japan/A1902) 64,GB ",
"productPrice" : 87049,
"productQuatity" : "5",
"productSeller" : "Apple",
"ratings" : 4
},
"productId" : "-L1HnndxVc2-KaJ10Skc",
"userId" : "-LEArZoCs6WY-qx0ZfFq"
}
},
"products" : {
"-L1HlRIMrdzGQk_I4Q8v" : {
"favourite" : false,
"productAdded" : 1514290922,
"productCategory" : "Smartphone",
"productDescription" : "12.3MP primary camera with phase detection autofocus (PDAF), laser detection autofocus (LDAF),4K (30 fps) video capture, HD 240 fps (8x) and full HD 120 fps (4x) slow motion video, CRI-90 dual-LED flash and 8MP front facing camera.",
"productId" : "PROD_HJflyT1mz",
"productImageUrl" : "http://4.bp.blogspot.com/-z2gubajOO3c/WYRFSn07xSI/AAAAAAAAA78/K7q2Gt9oTmAM_uMfBOpIPBBWqa_HZjlcQCK4BGAYYCw/s1600/google-pixel-xl-2-gfxbench-vazamento_chamada.jpg",
"productName" : "Google Pixel XL (Quite Black, 32GB)",
"productPrice" : 40000,
"productQuatity" : "2",
"productSeller" : "Google",
"ratings" : 5
}
}
}
How to add Product list ? whether with the admin user ?
Yes, you are right. you need admin access to add or delete the product.
On Wed, Jun 13, 2018 at 4:00 AM onowb notifications@github.com wrote:
How to add Product list ? whether with the admin user ?
— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/ikismail/Angular-ShoppingCart/issues/5#issuecomment-396755243, or mute the thread https://github.com/notifications/unsubscribe-auth/AQZQATo1xWeShvPwTzAiNecSqLxYWn78ks5t8EEFgaJpZM4Uhurm .
Hi, I have like you docs say use the account used on my firebase project but when i want access to add-product pages i Have 404. when i have add the product by the database in the firebase console this doesn't work.
can I have a file example firebase json?