How To Build A Next.js Coupon System Like A Senior Developer

Building out an ecommerce site is difficult enough on its own, but creating a robust coupon system to go along with it just adds even more complexity. In this video I will show you have to built a complete advanced coupon code system on top of an ecommerce site that covers every scenario you could ever think of.
📚 Materials/References:
Starting GitHub Code: github.com/WebDevSimplified/n...
Ending GitHub Code: github.com/WebDevSimplified/n...
Next.js Ecommerce Video: • Full Stack Ecommerce S...
🌎 Find Me Here:
My Blog: blog.webdevsimplified.com
My Courses: courses.webdevsimplified.com
Patreon: / webdevsimplified
Twitter: / devsimplified
Discord: / discord
GitHub: github.com/WebDevSimplified
CodePen: codepen.io/WebDevSimplified
⏱️ Timestamps:
00:00:00 - Introduction
00:01:31 - Database Changes
00:07:15 - Discount Code Admin Pages
00:54:19 - Customer Payment Page
01:12:38 - Integrating With Stripe
#Next.js #WDS #Ecommerce

Пікірлер: 33

  • @EmilleJunior
    @EmilleJuniorАй бұрын

    9:04 Just a little tip. Instead of backspace and retype a letter, we can re-trigger auto import by pressing Ctrl + Space (on Windows)

  • @Tommy-jn9ps
    @Tommy-jn9psАй бұрын

    Kyle please can you occasionally do some story time and speaking videos like old times? Really loved them and sometimes watching those while working is really great

  • @graftdigital
    @graftdigitalАй бұрын

    Awesome.. Just doing the e-commerce tutorial. Great idea to add “bolt on” content.

  • @mohdali-yq8gq
    @mohdali-yq8gqАй бұрын

    Great example of coupon implementation

  • @floriangogea9712
    @floriangogea9712Ай бұрын

    Great tutorial. Merci!!!

  • @LokeshKumar-tk7ri
    @LokeshKumar-tk7riАй бұрын

    Please do a video on DSA

  • @RishiRajxtrim
    @RishiRajxtrimАй бұрын

    Great thanks

  • @cloobtech3928
    @cloobtech3928Ай бұрын

    Web Dev simplified

  • @marginiszero
    @marginiszeroАй бұрын

    I really like your videos❤

  • @JacobBernsdorf
    @JacobBernsdorfАй бұрын

    man all your videos always slap.

  • @deatho0ne587
    @deatho0ne587Ай бұрын

    For tables make a component for them that can take an array of columns and rows/data Columns array controls all options for the columns: [{field, header, classNames, modsToData, editable, etc... }] Rows array is only the data: [{field1, field2, etc...}] This way you only have to change the API call, rows and colums when there is a change and not go to the HTML portion. This component could be used in several projects also, as long as the frameworks are close enough.

  • @M1a2n3o43
    @M1a2n3o43Ай бұрын

    Pse do more of these on the same project. Lets like a fully featured ecommerce web app.

  • @wayslow
    @wayslowАй бұрын

    13:21 this is coolm I wasn't even aware those types are available and I've been using Prisma for 2 years. Lol

  • @pigrov

    @pigrov

    Ай бұрын

    Where I can read how it work properly?) it is a magic

  • @wayslow

    @wayslow

    Ай бұрын

    @@pigrov I've seen those entries generated in node_modules/.prisma/client/index.d.ts but the file is a bit overwhelming and the docs aren't much help either.

  • @pigrov

    @pigrov

    Ай бұрын

    @@wayslow yes. i've seen too, tnx)

  • @jimmytan6543
    @jimmytan6543Ай бұрын

    Will you show how to deploy? Thanks!

  • @balduin_b4334
    @balduin_b4334Ай бұрын

    Is that a Postgres thing, that you don’t need a join Table for many to many relations? (Product to Codes)

  • @alexdin1565
    @alexdin1565Ай бұрын

    please can you make a video about NextJs and Docker

  • @Septumsempra8818
    @Septumsempra8818Ай бұрын

    I have to do this for a price comparison site, i.e. my setup must handle all the retailers' versions of couponing.

  • @vladanton9
    @vladanton9Ай бұрын

    Thanks

  • @WebDevSimplified

    @WebDevSimplified

    Ай бұрын

    You are very welcome!

  • @ftblhd1
    @ftblhd1Ай бұрын

    hello! just watched your wordle video from like 2 years ago and i want to point out, if my random word was "yours" and my guessed word was "sense" it would check both S instead of only one of them so both would be yellow in this case, but only one should be.

  • @zeeshanahmadkhalil8920
    @zeeshanahmadkhalil8920Ай бұрын

    How to design like senior dev. Occupation: senior KZreadr.

  • @yassermohamed9291
    @yassermohamed9291Ай бұрын

    Is it good, guys?

  • @MahmoudAbdullahAnani
    @MahmoudAbdullahAnaniАй бұрын

    My brother, today is a holiday for Muslims. Happy new year and peace♥

  • @EmilleJunior

    @EmilleJunior

    Ай бұрын

    Eid Mubarak bro

  • @MahmoudAbdullahAnani

    @MahmoudAbdullahAnani

    Ай бұрын

    @@EmilleJunior Thank you, brother, with all my love and appreciation

  • @shaxzod_br
    @shaxzod_brАй бұрын

    Amazing as always, thanks 🙏

  • @isi1044

    @isi1044

    Ай бұрын

    Dude how do u know its amazing... you haven't even had enough time to watch 1/10 of the video

  • @shaxzod_br

    @shaxzod_br

    Ай бұрын

    @@isi1044 bro i believe in him😂, to be more clear I meant video content about coupons system not the video itself)

  • @akashkrishna1043
    @akashkrishna1043Ай бұрын

    First comment

  • @hannah51238
    @hannah51238Ай бұрын

    Fourth comment, BOOM!