Demo Video - https://youtu.be/I6ZZtH6zbUU
Designing ShopTurant :
-
Schema - shopTurant
-
User id, name, mobile, email, passwordHash, isSeller, registeredAt, lastLogin, isActive
-
Product id, userId, title, summary, type, price, discount, createdAt, imageId, isActive
-
productReview id, productId, userId, title, rating, createdAt
-
Category id, title
-
productCategory id, productId, categoryId
-
Address id, name, mobileNo, email, line1, line2, city, state, country, isActive
-
Cart id, userId, productId, isActive
-
order id, userId, orderedAt, status, cost, addressId
-
orderItem id, orderId, productId
-
transaction id, userId, orderId, status, createdAt
Actions :
- user can register
- user can login
- user can reset password 4.0 seller can add product
- user can search for a products or category - all category items, product.name
- user can add address // remove address // getAllAddress
- user can add item to cart // user can remove item from cart
- user can order items
- user can view previous orders
- user can rate ordered items
- user can change their address