Full Stack Ecommerce Store With Admin Dashboard From Scratch - Next.js, Prisma, Stripe, Tailwind

แชร์
ฝัง
  • เผยแพร่เมื่อ 13 ธ.ค. 2024

ความคิดเห็น • 401

  • @WebDevSimplified
    @WebDevSimplified  8 หลายเดือนก่อน +27

    Join the Slack Developer Program for exclusive access to beta features, sandboxes, resources, and more: api.slack.com/developer-program?AMER_US_EN_Q1_SLKAW_Developer_Program_Web_Dev_Simplified&

    • @samoltman
      @samoltman 8 หลายเดือนก่อน

      its free?

    • @Slackhq
      @Slackhq 8 หลายเดือนก่อน

      @@samoltman It sure is!

    • @wall-v
      @wall-v 3 หลายเดือนก่อน

      How come, when you are styling the menus and they are already styled in dashboard page? I am trying to style the nav component here and i am still stuck with the style. Thanks for replying...

  • @qndev
    @qndev 8 หลายเดือนก่อน +34

    I've been looking for this project for a long time. Thank Kyle for awesome project!

  • @MrCuteguylol
    @MrCuteguylol 8 หลายเดือนก่อน +19

    Thank GOD. I have a Next JS project in my job and your video came up. Damn.

  • @the__jive
    @the__jive 8 หลายเดือนก่อน +12

    Thank you very much Kyle! I learned a lot from this video, ❤.

  • @themks8452
    @themks8452 8 หลายเดือนก่อน +12

    this is going to be the best video on this channel

  • @violinsheetmusicblog
    @violinsheetmusicblog 7 หลายเดือนก่อน +26

    This video omits a lot of details for those just starting out, but it's great for those who already have worked with most of these tools in the past. Thanks!

    • @bencipherx
      @bencipherx 6 หลายเดือนก่อน +2

      Thank you for your feedback which I find useful. Please can you highlight what he omitted so I can review them or suggest an alternative prerequisite video.
      I have never seen or used next before but i learnt its like Django which I am very used to. I also have experience with ExprezsJS and React

    • @DaniTochi
      @DaniTochi 5 หลายเดือนก่อน +1

      Hi! What do you recommend? This is the first time I'm doing the project. Thanks 😅

  • @ahmedyasser5058
    @ahmedyasser5058 8 หลายเดือนก่อน +18

    We've been waiting for something like this so long bro thanks for everything you do on the channel ♥

  • @anand_dudi
    @anand_dudi 7 หลายเดือนก่อน +4

    This is most useful tutorial on nextjs i have ever seen as senior react node developer

  • @pablom8854
    @pablom8854 8 หลายเดือนก่อน +4

    Some relevant timestamps for me
    5:15 price in cents
    9:17 restrict
    9:40 download verification
    12:30 shad config

  • @whitewalker19
    @whitewalker19 8 หลายเดือนก่อน +4

    man mad respect..this is what I was searching for

  • @nelsonyu4112
    @nelsonyu4112 7 หลายเดือนก่อน +1

    Thank you Sir! Really appreciate the time you put into this tutorial, it saved me a lot of time from navigating best practices. I tried the Gen AI tools but they are not doing nearly as well as this because of new paradigms like App Router.

    • @WebDevSimplified
      @WebDevSimplified  7 หลายเดือนก่อน +2

      Thank you so much for the support! I am glad I could help.

    • @nelsonyu4112
      @nelsonyu4112 7 หลายเดือนก่อน +1

      ​@WebDevSimplified on top of what you have shown us here, i'd love to see what's the best way to integrate with i18n. The particular part i am exploring is the server side actions where you addProduct or updateProduct, which redirects back to the Product dashboard, wondering what's the cleanest way to retrieve the locale from server side and include in the redirects. Looking forward to your suggestions or another video 😊

    • @WebDevSimplified
      @WebDevSimplified  6 หลายเดือนก่อน +1

      Next.js has a bunch of documentation on including i18n in an application. I have considered making a video on i18n, but it is hard since it is something that is very particular to the app you are building.

    • @nelsonyu4112
      @nelsonyu4112 6 หลายเดือนก่อน

      I tried a few approaches ended up using paraglide.

  • @Jaco_codeeza
    @Jaco_codeeza 6 หลายเดือนก่อน +2

    Thank you Kyle. Much Appreciated. I'm an hour into the tutorial and i must say, "I'm learning some real full stack here".

  • @phil5293
    @phil5293 2 หลายเดือนก่อน +1

    Best Next.js tutorial ever. Thank you

  • @AlexanderBelov-y8o
    @AlexanderBelov-y8o 8 หลายเดือนก่อน +2

    You are one of the best on TH-cam

  • @anirudhnomula2942
    @anirudhnomula2942 7 หลายเดือนก่อน +2

    A wholesome project with almost a lot of best practices covered , definetly recommend to watch this ❤

  • @madanmalhotra
    @madanmalhotra 2 หลายเดือนก่อน +1

    learn a lot, this guy is just next level coder.

  • @AgustinAstronomy
    @AgustinAstronomy 8 หลายเดือนก่อน +4

    thanks for this amazing video. So many key concepts are covered here, like redirects from api route to pages, prisma, server actions. Thanks!

  • @7doors847
    @7doors847 8 หลายเดือนก่อน +4

    This looks like a fun project. Looking forward to it. Thanks!

  • @lenaggar
    @lenaggar 8 หลายเดือนก่อน +3

    I really admire your speed from thought to implementation and iteratively moving forward while not spending too much time considering different options in each crossroads you hit
    I usually get stuck on these mini decisions along the way while working. Perfectionism harms my velocity quite a lot!
    Maybe you can talk about how you manage the need for perfectionism! (if you do face it of course 😅)

  • @AliRaza-gr8to
    @AliRaza-gr8to 6 หลายเดือนก่อน +1

    Wow, wow wow excellect. Mater of Everything, Next, React, Typescript, Tailwind, Css, Sass, ..... and with such a Speed. God Bless You. Very Informative..

  • @haikchalian
    @haikchalian 3 หลายเดือนก่อน

    Thanks Kyle, you covered everything need for a full site. You even covered sending emails. I can build on everything learned here. Much appreciated.

  • @EcomCarl
    @EcomCarl 7 หลายเดือนก่อน +2

    Incredible tutorial on building an efficient eCommerce site with minimal code! Leveraging tools like Next.js and Prisma not only streamlines development but also enhances scalability and maintenance 👍.

  • @justinhoward6384
    @justinhoward6384 8 หลายเดือนก่อน +2

    Kyle drops another hit

  • @Aerotk
    @Aerotk 5 หลายเดือนก่อน +2

    Took few days to complete it but worth trying it. tysm ♥

  • @terrol3164
    @terrol3164 2 หลายเดือนก่อน

    Super high quality video, can't believe this is free lmao

  • @jrom_ai
    @jrom_ai 8 หลายเดือนก่อน +2

    AMAZING tutorial!!!

  • @NinoVid.
    @NinoVid. 5 หลายเดือนก่อน +2

    Bro, you are BEAST !

  • @andrewtcoder
    @andrewtcoder 8 หลายเดือนก่อน +2

    Amazing video!!! Thank you so much! You're the best teacher!!!!

  • @TwinkieHeist
    @TwinkieHeist 5 หลายเดือนก่อน

    This video is amazing! I am new (6months) learning and I've been pushing on React, Next.js, Tailwind, and Prisma paired with Supabase. This was exactly what I am looking for! If you're looking for any future topics: I'd like to see how you might use tRPC into the mix. I just started using it, but I know I'm only scratching the surface.

  • @anirudhnomula2942
    @anirudhnomula2942 7 หลายเดือนก่อน +2

    wow that was so fast for me , guess im a noob afterall , right now studied and coded almos till 43 min , will take this forward tomorrow , thanks for this video , wanted to start my own ecom site

    • @anirudhnomula2942
      @anirudhnomula2942 7 หลายเดือนก่อน +2

      checking in again today , completed till 51:33 , was trying to load till 1:20:00 but it was way too much for me so instead tried coding and ended till 51 min , thank you so much for packing a lot of stuff , i have a newfound respect for u

    • @anirudhnomula2942
      @anirudhnomula2942 7 หลายเดือนก่อน +1

      i tried a lot to complete this in one go from 51 min but ending giving up at 2hr:15min~:, atleast this i coded till that point , alot of things seem more clear when we code it out , thanks again for all ur effort , u really made it simple, true to ur word , gn

    • @anirudhnomula2942
      @anirudhnomula2942 7 หลายเดือนก่อน +2

      Ok today its finally done , i gave up to code along when u started web hooks 🙃 but scanned fro there till the end as it was mostly react email and a bit of same which was done with admin products page but finally i completed this whole video feels so nice to be able to check this of the list

    • @anirudhnomula2942
      @anirudhnomula2942 7 หลายเดือนก่อน +3

      So it took me 10 days to actually complete it 😂 and u did it in 4~5 hrs 😮 glad i found this video learnt a lot from this video , really appreciate it from bottom of my heart

  • @RavindraSingh-lp9pl
    @RavindraSingh-lp9pl 5 หลายเดือนก่อน

    We absolutely love this Kyle

  • @ricardoestrella95
    @ricardoestrella95 8 หลายเดือนก่อน +4

    No hate, just suggestion. I appreciate this video, but just as js mastery, you should also upload that kind of videos, just as this one! Nice video :)

  • @alec-dora
    @alec-dora 8 หลายเดือนก่อน +1

    Email service bookmark 2:57:00

  • @nasa-eemadadam2213
    @nasa-eemadadam2213 8 หลายเดือนก่อน +1

    Awesome tutorial 😁 need more nextjs project 😊😊😊

  • @thabosiphiwemngoma1859
    @thabosiphiwemngoma1859 8 หลายเดือนก่อน +1

    About time. Thank you for this. Now you should try other backends like python. Your breakdowns are amazing

  • @samoltman
    @samoltman 8 หลายเดือนก่อน +2

    finished this. You should extend this sample with user login, purchases and cart. PEACE

  • @artemonstrick
    @artemonstrick 8 หลายเดือนก่อน +1

    WOW ALMOST 4 HOURS OF MY FAVORITE WOBBLY HEAD TALKING! WOHOOOOOOOO!1111

  • @mrentr3preneur
    @mrentr3preneur 3 หลายเดือนก่อน

    most amazing thing, thank you Web Dev Simplified. You deserve that good hair !

  • @_hugo_cruz
    @_hugo_cruz 4 หลายเดือนก่อน

    Bro, thank you for this. Thanks for taking the time to build this excellent content for us. It's awesome this projetc to start any e-commerce. hugs!

  • @Habesha_Today
    @Habesha_Today 8 หลายเดือนก่อน +1

    Dev please do more videos on Next-js and TypeScript especially on Ecommerce-Site and other complex projects

  • @adejoh6650
    @adejoh6650 8 หลายเดือนก่อน

    This is a great project!!
    Thanks🙏
    You talk as fast as Ben Shapiro...no doubt you would be the Fastest Rapper on Earth if you switch jobs!!!

  • @masadamsahid
    @masadamsahid 8 หลายเดือนก่อน +2

    If you guys using yarn and encounter error ERR_ESM_REQUIRED when running the react-email like bellow:
    [your_nextjs_app_path]/node_modules\ora\index.js:65
    if (process.platform === 'win32') {
    ^
    Error [ERR_REQUIRE_ESM]: require() of ES Module ...
    You might have to delete your node_modules directory and then reinstall all the dependencies USING NPM (npm install), and DON'T use YARN (yarn). And then try to run the react-email script as in the video (npm run email).
    Hope this helps you well.

  • @Developer-KamranIqbal
    @Developer-KamranIqbal 3 หลายเดือนก่อน

    Great course, Learned a lot from this course.

  • @joel-rg8xm
    @joel-rg8xm 8 หลายเดือนก่อน +1

    Gem video to bookmark, thx

  • @jmgutierrez962
    @jmgutierrez962 8 หลายเดือนก่อน +1

    Thank You sir..This is really really helpful..

  • @frontend_ko
    @frontend_ko 8 หลายเดือนก่อน +3

    thanks for really nice video.
    can you create a video for i18n in app router? it's too complicated in app router
    my only concern for this tutorial is that
    the middleware for admin auth was done in dev mode.
    i'm not sure it's gonna really work in production mode because everything is cached by default.

  • @telur_ramen
    @telur_ramen 8 หลายเดือนก่อน

    thank you so much for this amazing course!

  • @codingjitsu
    @codingjitsu หลายเดือนก่อน

    This is great, Thanks for Sharing.

  • @joelmason6818
    @joelmason6818 8 หลายเดือนก่อน

    Something I would greatly appreciate is that you create another version of this for solid items shipped with a popular shipping calculator included. Thus would be cool and would help plenty of people selling actual items vs. digital downloads. Thx in advance!

  • @AlexMarcoDAngelo
    @AlexMarcoDAngelo 6 หลายเดือนก่อน +1

    EXCELLENT! 👍 I wish there was a shopping cart so customers can purchase multiple products, but of course, you intended this to be basic! 😊

  • @ryanhotrod5416
    @ryanhotrod5416 3 หลายเดือนก่อน

    Awesome 👍😎 really insightful

  • @thiagosullivan
    @thiagosullivan 8 หลายเดือนก่อน

    That white Jackson is awesome 🥰

  • @armiahabib-y7n
    @armiahabib-y7n หลายเดือนก่อน +1

    at 1:04:01 when submit form i got error with Error: File is not defined which come from z.instanceof(File, {message: "Required"}) which it mean File object is available in the browser environment, not in Node.js (or the server environment where Next.js API routes run) how can i solve plz let me know thanks

  • @404-not-found-service
    @404-not-found-service 8 หลายเดือนก่อน

    Thank you very much for the video, this type of content is appreciated.

  • @laduniestu
    @laduniestu 8 หลายเดือนก่อน

    wish you all the besttt 🔥🔥🔥

  • @codingwithteedeb
    @codingwithteedeb 8 หลายเดือนก่อน

    You might think Kyle is ELISA with his robotic head movement and fast-pace speech

  • @hoanghailethe1734
    @hoanghailethe1734 3 หลายเดือนก่อน

    thank you so much, learned a ton

  • @kisp11
    @kisp11 7 หลายเดือนก่อน

    Great video, thanks! How about making a follow-up video on comparing the different state management approaches with regard to component tests? :) I think this could be an important factor and another way to highlight the differences.

  • @cant_sleeeep
    @cant_sleeeep 2 หลายเดือนก่อน +1

    chad teaches web development

  • @gachecem_yt
    @gachecem_yt 4 หลายเดือนก่อน +2

    Would be really good if the my orders would be on a login, so the person could have their information such as addresses, see what he previous bought and his orders which are on the way home, etc.

  • @joshuastephenkartes4171
    @joshuastephenkartes4171 7 หลายเดือนก่อน +2

    Hey, Kyle! So, I'm not sure this question has been asked yet in the comments. You're using the "use server" directive in /src/app/admin/_actions/products.ts, but then you're using the client-side `File` type in the `fileSchema` validation. I'm not sure if I missed something earlier in the video that would prevent the "File is not defined" error due to referencing `File` in a server component ...?

    • @programmingjobesch7291
      @programmingjobesch7291 7 หลายเดือนก่อน

      stuck here as well

    • @devrajchatribin
      @devrajchatribin 6 หลายเดือนก่อน

      const fileSchema = (typeof File !== "undefined")
      ? z.instanceof(File, { message: "Required" })
      : z.any(); // Provide a fallback schema or handle appropriately
      Try this out, worked for me

    • @stephanfranz2524
      @stephanfranz2524 5 หลายเดือนก่อน

      If you're getting the error, you need to upgrade your version of node to v-20.0.0 or later. I ran into this myself and this solves the issue without having to deviate from Kyle's code or implementing a different schema validation

  • @vali69
    @vali69 7 หลายเดือนก่อน +3

    I decided to just download the project because it's been taking too long to write it while following the video and it just doesn't run... great... I love webdevving Edit: nvm I forgot to run prisma migrate to make the database... I'm such a goof. Now I can toy with this like I originally wanted to

  • @JediMediator
    @JediMediator 8 หลายเดือนก่อน

    Have you considered doing any tutorials on building some kind of shipping integration? I looked into it recently and found it very intimidating.

  • @lostinthenarrativve
    @lostinthenarrativve 8 หลายเดือนก่อน +3

    Fuuuuck me this is what we've all been waiting for in years

    • @YT-su2sq
      @YT-su2sq 8 หลายเดือนก่อน

      I would love to.

  • @MrGunshippilot
    @MrGunshippilot 8 หลายเดือนก่อน

    Great content!
    Thank you very much for doing this.
    How would you perform client-side validation, e.g. similar to react-hook-form?

  • @raphauy
    @raphauy 8 หลายเดือนก่อน

    Awesome!!! Thank you very much!!!

  • @X-razcal-X
    @X-razcal-X 8 หลายเดือนก่อน

    Great video. Thank you 🎉

  • @NoIngNames
    @NoIngNames 8 หลายเดือนก่อน +1

    So, am I missing something or upon successful purchase no record is made in Order table of the database?

  • @norbusherpa3665
    @norbusherpa3665 4 หลายเดือนก่อน +4

    anyone got this error Unhandled Runtime Error
    Error: File is not defined

    • @norbusherpa3665
      @norbusherpa3665 4 หลายเดือนก่อน

      const fileSchema = z.instanceof(File, { message: "Required" })

    • @animan6246
      @animan6246 หลายเดือนก่อน

      yeah man, did you resolve it?

    • @animan6246
      @animan6246 หลายเดือนก่อน

      nvm, i got it. Include
      import { File } from 'buffer'
      as File isn't directly avaiable on node env where server actions work, its a browswer specific api

    • @norbusherpa3665
      @norbusherpa3665 หลายเดือนก่อน

      @@animan6246 is your image validation working? i was quite bg

  • @AlexanderMihailov-tx8pk
    @AlexanderMihailov-tx8pk 8 หลายเดือนก่อน

    thats amazing! Thank you

  • @adam.erweeYT
    @adam.erweeYT 4 หลายเดือนก่อน

    Great work! Thank you.
    Question: Where would you suggest we host our db?

    • @Hedonist-p8s
      @Hedonist-p8s 4 หลายเดือนก่อน

      I hosted mine with Supabase, works great

  • @everythingeveryone-t7k
    @everythingeveryone-t7k 8 หลายเดือนก่อน +2

    well done, can i re-design and deploy for business use ??

    • @samoltman
      @samoltman 8 หลายเดือนก่อน

      no

    • @everythingeveryone-t7k
      @everythingeveryone-t7k 8 หลายเดือนก่อน

      @@samoltman why not ??? so how do i get it business ready ??

    • @evalaviniabucur1789
      @evalaviniabucur1789 5 หลายเดือนก่อน

      @@everythingeveryone-t7k of course you can.

  • @ashil816
    @ashil816 8 หลายเดือนก่อน

    Great content, thank you. Imagine we are planning a React Native app for this shop, utilizing the same API/database. What are the best practices in Next.js 14 for exposing the API to external users? Is it feasible for Next.js 14 to handle both scenarios, or should we opt for a dedicated backend?

  • @timmunkhtur219
    @timmunkhtur219 3 หลายเดือนก่อน +2

    Can't deploy to vercel because admin/products/download/route.ts has an invalid export.
    "Promise" is not a valid GET return type:
    Expected "void | Response | Promise", got "Promise".
    Expected "Promise", got "Promise".
    Expected "void | Response", got "NextResponse | { status: number; }".
    Expected "void | Response", got "{ status: number; }".

  • @AlexanderBelov-y8o
    @AlexanderBelov-y8o 8 หลายเดือนก่อน

    When I finish this, I'll try adding product attributes, more fields, etc.

  • @femiakinsiku8055
    @femiakinsiku8055 2 หลายเดือนก่อน

    God bless you Kyle

  • @toghrulzakarya7594
    @toghrulzakarya7594 หลายเดือนก่อน

    thanks to you I hate next.js now 😂

  • @PranasRokinskas
    @PranasRokinskas 8 หลายเดือนก่อน

    Hi, thanks for this. Stupid question - any particular reason why you aren't using arrow functions for components, i.e. ?

  • @Trisha-ol2yl
    @Trisha-ol2yl 6 หลายเดือนก่อน +2

    The redirect function at 1:00:16 is not working.. did anyone encounter the same issue?

    • @ichchhitdevkota
      @ichchhitdevkota 6 หลายเดือนก่อน +1

      Yes, did you fix it? and if yes, what did you do?

    • @joshnguyen8531
      @joshnguyen8531 6 หลายเดือนก่อน +1

      it's not working for me too, did you find a solution

    • @ichchhitdevkota
      @ichchhitdevkota 6 หลายเดือนก่อน

      @@joshnguyen8531 still looking for the solution, please post here if you do.

    • @ichchhitdevkota
      @ichchhitdevkota 6 หลายเดือนก่อน

      @@joshnguyen8531 use Get method to extract individual individual fields from formData

    • @PetyrC90
      @PetyrC90 6 หลายเดือนก่อน

      same

  • @iammaarccii6111
    @iammaarccii6111 5 หลายเดือนก่อน

    Very very helpful tutorial. all well explained and easy to follow. unfortunatly i´m missing the customer authentication. at least it´s missing in the timespamps. i´m currently at 2:11:08. so maybe it´s still coming

  • @floriangogea9712
    @floriangogea9712 8 หลายเดือนก่อน

    Thanks a lot! You're so kind...

  • @mega_play1237
    @mega_play1237 5 หลายเดือนก่อน +1

    i have problems to deploy the project to vercel

  • @asyncrohan
    @asyncrohan 8 หลายเดือนก่อน

    Hey kyle thanks for this one , can you guide us how to improve our css as a full stack dev because we focus on logic more than ui

  • @احمدجلاب-ش8خ
    @احمدجلاب-ش8خ 6 หลายเดือนก่อน

    @WebDevSimplified
    I have a question for if this project can be deployed in AWS Amplify?????
    Thank you for the awesome project! 💯❤

  • @andrewhan6021
    @andrewhan6021 8 หลายเดือนก่อน +10

    54:01 Has anyone encountered an "Unhandled Runtime Error: File is not defined -
    "const fileSchema = z.instanceof(File, { message: "Required" });""?
    I fixed it in the file app/admin/_actions/products.ts by changing the fileSchema definition to
    "const fileSchema = z.any();". =)

    • @horikaze0
      @horikaze0 8 หลายเดือนก่อน +5

      or add import { File } from "buffer";

    • @TurtlemanDC
      @TurtlemanDC 8 หลายเดือนก่อน +4

      You need at least v20 of node

    • @andrewhan6021
      @andrewhan6021 8 หลายเดือนก่อน +1

      ​@@TurtlemanDC Sweet! It worked when I switched to 20.12.0 with NVM. I was on v18 before. Thanks!

    • @andrewhan6021
      @andrewhan6021 8 หลายเดือนก่อน +1

      @@horikaze0 That's great, it works with this solution as well. Thanks!

    • @chadleyantonels9889
      @chadleyantonels9889 8 หลายเดือนก่อน

      y'all saved my hair fallout

  • @waelhlali2196
    @waelhlali2196 8 หลายเดือนก่อน

    Great work, can you do it with mern stack, redux and redux toolkit ?

  • @adyreacts5976
    @adyreacts5976 7 หลายเดือนก่อน

    Appreciate your granularity, you did not even skip a damn skeleton. Thanks Kyle. A host of topics covered

  • @husseinsalim2398
    @husseinsalim2398 8 หลายเดือนก่อน +1

    Sounds great

  • @henriknasmark
    @henriknasmark 5 หลายเดือนก่อน +2

    To bad there wasn't a cart and multiple products to orders. Nice work anyway :-)

  • @henriknasmark
    @henriknasmark 4 หลายเดือนก่อน

    There is a problem trying to deploy the stripe-success page on Vercel because we can't it takes in dynamic data and need to be created at request time. Also, seems to be a problem with stripe when you deploy it to production as well.

  • @ehsanjaved494
    @ehsanjaved494 6 หลายเดือนก่อน +1

    How would you deploy this on a hosting vps site

  • @M1a2n3o43
    @M1a2n3o43 8 หลายเดือนก่อน

    hey man while you were making the add new product form, i tried to it my own way using the form component by shadcn just as it says in the docs and it was imposible.i even posted a question in stackoverflow and people had a hard time finding the issue. could you maybe make a video about the proper way to make forms with shadcn with form and react hook form? Would be a gem of a video. thanks anyway great tutorial.

  • @alijalloul122
    @alijalloul122 7 หลายเดือนก่อน

    when caching the calls to the db, why not use memo as a simpler way to cache the fetched data till the user either exists the website or manually reloads?

  • @ahmedzahid8354
    @ahmedzahid8354 4 หลายเดือนก่อน

    thanks for this video.

  • @bobiStories
    @bobiStories 4 หลายเดือนก่อน +1

    hello kyle and community of kyle, Im having an sql problem when deploying to vercel, I got suggested to switch to firebase instead of prisma client, that would mean all the prisma sql related processes would be needed to be replaced, is there no other way around this? or did I miss out something obvious.?

    • @bobiStories
      @bobiStories 4 หลายเดือนก่อน +1

      Application error: a server-side exception has occurred (see the server logs for more information).

    • @bobiStories
      @bobiStories 4 หลายเดือนก่อน +1

      error: Error validating datasource `db`: the URL must start with the protocol `file:`.
      --> schema.prisma:11
      |
      10 | provider = "sqlite"
      11 | url = env("DATABASE_URL")

  • @rishawraj
    @rishawraj 8 หลายเดือนก่อน +2

    at 2:37:26, when i click the purchase button it show an error: Uncaught (in promise) Error: PrismaClient is unable to run in this browser environment, or has been bundled for the browser (running in `unknown`).

    • @samoltman
      @samoltman 8 หลายเดือนก่อน +1

      going to follow along and this scares me

    • @rishawraj
      @rishawraj 8 หลายเดือนก่อน +2

      @@samoltman it was my fault. I misspelled "use server" in a component.

    • @rishawraj
      @rishawraj 8 หลายเดือนก่อน +1

      @@samoltman but If you're from india you will have to add more fields to the form , to follow indian regulations for online payment.

    • @ajaydeepsinghrajpoot
      @ajaydeepsinghrajpoot 8 หลายเดือนก่อน

      @@rishawraj i guess this is why i'm still getting unknown error occurred.

    • @rishawraj
      @rishawraj 8 หลายเดือนก่อน

      @@ajaydeepsinghrajpoot you just need to add an addressElmement in form.

  • @DeaViNG
    @DeaViNG 8 หลายเดือนก่อน

    are there alternatives to stripe I could use if it is not supported in my country?

  • @rajeshkannan748
    @rajeshkannan748 8 หลายเดือนก่อน +1

    text-muted-forehand is tailwind classes ?
    I couldn't find that in tailwind css doc

    • @algaldia
      @algaldia 8 หลายเดือนก่อน

      Didn't find either.

    • @kyriakosbekas
      @kyriakosbekas 7 หลายเดือนก่อน +1

      They are classes that are generated due to the tailwind config file. When you setup shadcn/ui, some variables for colors, animation, etc. are added there and therefore you have access to these generated classes

    • @algaldia
      @algaldia 7 หลายเดือนก่อน +1

      @@kyriakosbekas Thank you!!

  • @matthiasnienhaus7735
    @matthiasnienhaus7735 8 หลายเดือนก่อน

    20:18 How do you split the string into multiple lines within the cn() function? I get an unterminated string literal error 1002 when I try that.

    • @jamesb1664
      @jamesb1664 8 หลายเดือนก่อน

      If you notice it happen when he saves the changes - he has prettier extension enabled to ‘format on save’

  • @jaasielantunes7320
    @jaasielantunes7320 6 หลายเดือนก่อน

    The npm run email command is not working in my terminal. Do I need to install any CLI?