E-commerce Application Database Design Tutorial | Coding Kalakar

Поділитися
Вставка
  • Опубліковано 24 січ 2025

КОМЕНТАРІ • 25

  • @ShubhamJha-f5v
    @ShubhamJha-f5v 22 дні тому

    Suggestion... Use separate tables for size and colors. This way you can set sized / color based individual pricing. Most of the time some particular size or color are in huge demand which stales the stock of other sizes if all are available in same price. For example, red may get sold out quicker but green may receive less sale. Result? Stale stocks for green tees. Solution? Make red costlier than green. Either you get more margin if red still sells or people opt for green. Same goes for sizes. Having same price might not be that of a flexible solution.

  • @Rohit_Rai901
    @Rohit_Rai901 11 місяців тому +3

    Sir please make end to end E-commerce in React JS🔥💪

  • @tanzimibthesam5861
    @tanzimibthesam5861 8 місяців тому +3

    If we see this table
    Product_variants
    Id
    Product_id
    Color (optional)
    Size (optional)
    Price (float - 10,2)
    Stock_quantity (integer)
    First of all i think its not in 2NF since color and size is dependent on product_id and not id which is primary key and stock quantity is dependant on size and color which results in transitive dependency.
    Ideally we can have another table for stock and product_id can be foreign key as well as primary key
    Also if you need to insert size and color every time it will lead to insertion anomaly . But question may come too many tables will result in too many joins and slow performance. So in this case we need to index.

  • @goodluck3605
    @goodluck3605 20 днів тому

    Actually, you don't add a product image column in products table i think where will be store the path of image ?

  • @mr.pjarts9142
    @mr.pjarts9142 Місяць тому

    Thank you sir ❤❤

  • @adeelakhanum4629
    @adeelakhanum4629 10 місяців тому

    database for any rental website?

  • @0equalsTo1
    @0equalsTo1 8 місяців тому +1

    Hello, Carts me product id and product varient id kyon.???
    Carts can have multiple items.
    how to handle this?

  • @w3bpiyush_
    @w3bpiyush_ 11 місяців тому

    sir make a project where we can learn seo, large user database scaling, best practices tips etc

  • @harisankarl6292
    @harisankarl6292 3 місяці тому

    For e commerce app, no SQL is better? Isn't it?

  • @deepanshumaurya285
    @deepanshumaurya285 4 місяці тому

    Complete tutorial for e-commerce website development

  • @techmotherboard
    @techmotherboard 3 місяці тому

    Assalam walekum sar meri ek request hai aapse kya aap transport management system per complete database section video bnao with detail

  • @amandixit8342
    @amandixit8342 10 місяців тому

    please make also ola/uber db design video it will be helpful

  • @amandixit8342
    @amandixit8342 10 місяців тому

    apne rating reviews ka nhi attribute nhi add kiya

  • @janhvi0994
    @janhvi0994 7 місяців тому

    iska ER diagram mil sakta hai kya Sir please?

  • @sharafhusain645
    @sharafhusain645 8 місяців тому

    👍 thanks

  • @hemaldon
    @hemaldon 8 місяців тому

    Thank you

  • @rajansharma509
    @rajansharma509 11 місяців тому

    31:38 par aapne mentation Kiya 😅hai sir ye second but good video

  • @AmanKumarSinhaOfficial
    @AmanKumarSinhaOfficial 9 місяців тому +1

    ❤❤❤

  • @KuldeepSingh88268
    @KuldeepSingh88268 9 місяців тому

    Source code

  • @rajansharma509
    @rajansharma509 11 місяців тому +1

    Cart me quantity kaha gaya sir ji 24.03

    • @codingkalakar
      @codingkalakar  11 місяців тому +1

      Yes, I used to forgot mentioning the required doc link in the description. By your comment I realized, so added it now.

    • @softboxmelody
      @softboxmelody 9 місяців тому

      Hello bro
      Need help for db design for products and attributes

    • @rajansharma509
      @rajansharma509 9 місяців тому

      @@softboxmelody product table me , I'd , size I'd , attributes table, I'd size , jo fields chahiye le lo aap aur join query mar Dena aap jab value lena hoga to