Full-Stack Quick Commerce App with Next.Js, Drizzle ORM and Cryptomus Payments

Поделиться
HTML-код
  • Опубликовано: 6 сен 2024
  • 🔗 Cryptomus Website: bit.ly/3zMCDEV
    🔗 Cryptomus Telegram: bit.ly/4f7Mgy0
    🔗 Source Code: github.com/cod...
    🔗 Design Inspiration: bit.ly/3zOZMGz
    👉 Step into the world of full-stack development with our detailed MERN Stack With Microservices course! Transform your ideas into reality: www.codersgyan... 🌐🚀
    🤝 Get 1:1 mentorship: topmate.io/cod...
    📚 Web Development Learning Resources
    JavaScript Course:
    • JavaScript Complete co...
    Object Oriented Programming:
    • OOP - Javascript
    Full Stack Developer's Journey:
    • Full Stack Developer's...
    MERN Stack Playlist:
    • MERN Stack
    Interview Questions Playlist:
    • Javascript Interview q...
    Crash courses:
    • Crash courses
    CodersGyan Community Links
    🎥 Subscribe to Our Channel: / @codersgyan
    📱 WhatsApp Channel: whatsapp.com/c...
    🌐 Website: www.codersgyan...
    🤖 Discord Community: / discord
    🔗 LinkedIn: / codersgyan
    💻 GitHub: github.com/cod...
    ✅ My gears for everyday work: docs.google.co...
    00:00:00 Project Demonstration
    00:14:28 NextJs Installation
    00:17:35 Setting Up Database(PostgreSQL)
    00:20:10 Setup Drizzle ORM
    00:28:20 Database ERD Diagram
    00:45:38 Create User Table
    00:57:40 Creating the Product Table
    01:01:36 Creating the Product Endpoint
    01:05:14 Install Zod for Validation
    01:18:27 Store Data into the Database
    01:27:51 Get Product List Endpoint
    01:32:55 Get Single Product Endpoint
    01:40:39 Create Warehouse Endpoint
    01:55:58 Get Warehouses List Endpoint
    01:59:04 Create Delivery Person Endpoint
    02:18:06 Get All Delivery Persons Endpoint
    02:24:47 Create Inventories Endpoint
    02:39:22 Get All Inventories Endpoint
    02:45:17 Implement Next Auth
    03:25:02 Install Shadcn
    03:35:21 Create Dashboard Homepage
    03:58:53 Create Product Page
    04:15:43 Fetch Product Data from Backend Using React Query and Axios
    04:36:51 Add Product Functionality
    05:21:25 Add Loading Spinner to Create Button
    05:26:07 Close Sheet on Success
    05:32:32 Add Loading Spinner for Fetching Products
    05:36:09 Display Error Message on Product Fetch Error
    05:40:09 Assignment
    05:56:05 Create Inventory Table
    06:03:58 Add Inventory Form
    06:26:31 Create Homepage
    06:35:25 Create Dynamic Product Section
    07:04:17 Create Single Product Page
    08:14:13 Create Order Placement Endpoint
    08:17:32 Order Creation
    09:05:27 Create Invoice
    09:06:01 Implement Cryptomus Payment System
    10:35:38 Create Payment Success Page
    10:37:33 Create Payment Failed Page
    10:39:16 Get Orders List Endpoint
    10:47:35 Display Orders List in Dashboard
    11:11:44 Update Order Status Endpoint
    11:21:01 Add Select Box to Change the Order Status
    11:34:04 Show Order List for Users
    11:54:05 Secure Account Section
    11:57:55 Implement User Logout Functionality for Client
    12:04:51 Implement Logout Functionality for Admin Panel
    12:12:54 Secure All API Endpoints
    12:24:01 Ending
    #nextjs14 #fullstackdevelopment #postgresql #codersgyan #cryptomus #project #webdevelopment

Комментарии • 83

  • @sumanthprabhu11
    @sumanthprabhu11 Месяц назад +13

    Sir deployment part of this project?

    • @Abhi-md4zf
      @Abhi-md4zf 12 дней назад

      Dude do we need to pay anywhere while building this?

  • @md_aamir_hussain
    @md_aamir_hussain Месяц назад +2

    I love how you covered both the frontend and backend aspects, making it easier to understand the full stack development process. The step-by-step explanations and code walkthroughs are super helpful. Keep up the great work.

  • @technep9776
    @technep9776 Месяц назад +5

    Great timing rakesh sir. 😍 Now I'll start the video, i know obviously it's great

    • @CodersGyan
      @CodersGyan  Месяц назад +2

      Yes great, also complete the todos.

    • @technep9776
      @technep9776 Месяц назад +1

      @@CodersGyan sure🥳🥳

  • @dilawarkhankamboh
    @dilawarkhankamboh Месяц назад +4

    Finely big project a gya❤🎉😊

  • @__shubhamtiwari
    @__shubhamtiwari Месяц назад +3

    O my god, aisa hee kuchh expect kr rha tha mai kab se❤
    And one of the best part is TODO
    Lekin sir deployment please...

    • @CodersGyan
      @CodersGyan  Месяц назад +4

      To like kariye or shuru hojaeye 😅

    • @__shubhamtiwari
      @__shubhamtiwari Месяц назад

      Shuru hoo gaye ❤ aur bina like kaise reh sakte hai

  • @anshuraj5734
    @anshuraj5734 Месяц назад

    Starting this masterpiece after I'm done with the mastershit project I'm supposed to do as asked by my college.
    Thank you for such a great project sir.

  • @Super_movies_ajju
    @Super_movies_ajju Месяц назад

    When I complete next front or back my fullstack journey was like 🚀🚀🚀🚀🚀🚀 ❤ thnks sir and your teaching style is completely different easy to learn and simple.

  • @sureshsingh9880
    @sureshsingh9880 Месяц назад +1

    Sir i subscribe you because you teach too well and provide free source code

  • @CodeNinja18
    @CodeNinja18 Месяц назад +1

    if possible can you remove that extension of counting lines which is annoying unable to know at which line are writng

  • @nikhilkumarjamwal5322
    @nikhilkumarjamwal5322 Месяц назад +1

    Payment Gateway pr ek tutorial bnaiye sir.
    How to add in the e-commerce website.

  • @manishsharma-gf6fw
    @manishsharma-gf6fw Месяц назад +2

    node:internal/process/promises:391
    triggerUncaughtException(err, true /* fromPromise */);
    I am getting above error while trying to npm run db:run
    I am on v20.15.1

    • @mukulkumar5133
      @mukulkumar5133 14 дней назад

      same issue aa raha hai mujhe bhi jab warehouse create kr raha hu to
      how did you solved pls answer

    • @mukulkumar5133
      @mukulkumar5133 14 дней назад

      error solved
      make .env file not .env.local

  • @abhinayjangde
    @abhinayjangde Месяц назад

    2:45:13 Create and Get inventories endpoints created done

  • @kathiriyadhaval1316
    @kathiriyadhaval1316 Месяц назад

    That awesome project for resume so thank you Rakesh sirji you are best teacher

  • @pardeepsahota992
    @pardeepsahota992 19 дней назад

    Such a masterpiece... Hats off to your hard work... It will really help a lot... Keep it up... Full support to you rakesh Ji ❤

    • @CodersGyan
      @CodersGyan  19 дней назад +1

      Thank you Pradeep 🎉

    • @pardeepsahota992
      @pardeepsahota992 17 дней назад

      @@CodersGyan z.instanceof(File,{message:"Product image should be a file."}). File is not defined error occurs. got stuck from 3hr. can you pls help

  • @awesomeguy6427
    @awesomeguy6427 Месяц назад +1

    Sweet project 🍫

  • @aditya-d-
    @aditya-d- Месяц назад +1

    thanks , I make this soon, And Also Upload on LinkedIn

  • @qurashishebi7988
    @qurashishebi7988 Месяц назад +1

    What a surprise ❤❤.

  • @sportscity5487
    @sportscity5487 21 день назад

    When you have plan to invest 12hours then why did not started from scratch,?

  • @mukulkumar5133
    @mukulkumar5133 4 дня назад

    cryptomus ka merchant nahi ho raha sir

  • @AayushBartaula
    @AayushBartaula Месяц назад

    Great this is the video I was waiting for but I was looking for using prisma instead of Drizzle

    • @awesomeguy6427
      @awesomeguy6427 Месяц назад +1

      Drizzle is better than prisma.

    • @AayushBartaula
      @AayushBartaula 28 дней назад

      Completed untill 9:05:00 minutes soo far learnt so much from you thankyou so much.

  • @usmanmarkaz
    @usmanmarkaz Месяц назад

    thanks sir plz deployment b krdo kasa hoga
    or next time plz use Blockchain or solidity with NEXT js

  • @mohit84604
    @mohit84604 Месяц назад +1

    Sir MERN course pe discount milega ? Aur agar milega toh kitna milega

    • @CodersGyan
      @CodersGyan  Месяц назад +1

      Check community post waha discount coupon dia hua hai.

  • @adityadhopade7727
    @adityadhopade7727 Месяц назад

    Sizzling 🔥

  • @user-vh9rj3kz4t
    @user-vh9rj3kz4t Месяц назад

    Thankyou sir 😊

  • @travellergenshin
    @travellergenshin Месяц назад

    I know MERN stack so is it ok to start this project or I have to learn new things

    • @travellergenshin
      @travellergenshin Месяц назад

      please reply sir, I am confused about should I start or not

    • @CodersGyan
      @CodersGyan  Месяц назад +1

      Yes definitely you should watch this course.

    • @travellergenshin
      @travellergenshin Месяц назад

      @@CodersGyan thanks sir

  • @tusharkhadke3562
    @tusharkhadke3562 Месяц назад +1

    Sir,
    Can you make same video using react js

    • @CodersGyan
      @CodersGyan  Месяц назад

      For react js you can watch my recent React JS Dashboard project

  • @abhinayjangde
    @abhinayjangde Месяц назад

    1:27:53 Yah tak complete ho gya 😁

  • @swarnabhamajumder9561
    @swarnabhamajumder9561 Месяц назад

    Sir project ka deployment part bhi dikha do please

  • @ApurvaKashyap-kj6qz
    @ApurvaKashyap-kj6qz Месяц назад

    Sir is cryptomus free. ? I mean is there any testing payment option??

  • @ArslanKhan-li5py
    @ArslanKhan-li5py Месяц назад

    Waiting for Nextjs with Go Lang 🤭

  • @KishanDudhat-fy1le
    @KishanDudhat-fy1le Месяц назад

    Sir request to complete deployment with docker

  • @foodandfood36
    @foodandfood36 Месяц назад

    sir apne payment kr k dikhaya ki product ka payment successful hai but kya payment jo apne ki hai wo testing k liye project m mileyga bcz we dont have crypto coins at least completion of project test kr paengey is project ki testing without having crypto coins? just rply my doubts please
    sir thanks for giving us project like this .

    • @CodersGyan
      @CodersGyan  Месяц назад

      Unfortunately, the Crypto payment gateway does not provide you test account like stripe does. You will have to buy a crypto currency, I will suggest to buy some USDT through meta mask. You may also try other crypto exchanges. I did the same, I bought few USDT for development of this project.

    • @foodandfood36
      @foodandfood36 Месяц назад

      @@CodersGyan sir in this project you use postman it is necessary to use?

  • @abhinayjangde
    @abhinayjangde Месяц назад

    01:14:20 sir yaha pr aise bhi kr skte hai na, chal rha hai
    const filename = `${Date.now()}.${validatedData.image.name.split(".").pop()}`;

  • @mukulkumar5133
    @mukulkumar5133 7 дней назад

    completed 7:40:40

  • @sahilthummar8237
    @sahilthummar8237 13 дней назад

    Sir please mern stack me project laye prisma drizzle esa kuch nahi

    • @CodersGyan
      @CodersGyan  13 дней назад

      Already banaya hua hai playlist check kariye

  • @saroj3483
    @saroj3483 Месяц назад

    Sir bhale video 20 hr ka ho jaye lekin fully functional hona chayie isme invoice wagera kahan hai and delivery status product ki and bohot saari cheez missing hai multiple panels banao naa same project har jahah available hai

    • @awesomeguy6427
      @awesomeguy6427 Месяц назад

      bhai tum banalo yeh features aur mujhe bhi repo ki link bhejdena.

  • @bahadoornazeem5576
    @bahadoornazeem5576 Месяц назад

    It would good if the project used credit card.

    • @CodersGyan
      @CodersGyan  Месяц назад

      You are free to extend the payment feature and add credit card. Cryptomus also support card payments. Just give a read to docs.

    • @bahadoornazeem5576
      @bahadoornazeem5576 Месяц назад

      @@CodersGyan Thanks, good to know.

  • @studybiz5515
    @studybiz5515 Месяц назад

    Sir app kiya freelance web development korta ho kiya

  • @lokeshnegi5051
    @lokeshnegi5051 Месяц назад +1

    sir Golang series ke bichme iske liye kb time nikal liya 😮

    • @Marshal-786
      @Marshal-786 Месяц назад

      same yahi mery mind me b aya🤣🤣

    • @CodersGyan
      @CodersGyan  Месяц назад +1

      Wo bhi chalti rahegi, don’t worry 😉

    • @Marshal-786
      @Marshal-786 Месяц назад +1

      ​@@CodersGyan sir hamain tu projects chiya hoty hain apny esmy apny sql kun use kiya hai hamain fully MERN project chiya tha or ap API wala portion alag rakhty tu kitna acha hota idher majority beginers ki hai tu kindly os level ki chezain use kiya krain No doubt project next level ka hai but plz hamra b khyal kiya krain thanku

    • @user-gt9gn8es1q
      @user-gt9gn8es1q Месяц назад +1

      ​@@Marshal-786 ek dum braber bola

    • @lokeshnegi5051
      @lokeshnegi5051 Месяц назад

      @@Marshal-786 bhai same category ke projects kitni baar sikhoge jbtak nya explore nhi krohe toh aage kse bdhoge already channel pr itni sari videos MERN pr he.

  • @abhishekritu9287
    @abhishekritu9287 Месяц назад

    please share er digram and payment integration digram link

  • @abbas__00
    @abbas__00 Месяц назад

    ❤❤

  • @Faizan_Iqbal07
    @Faizan_Iqbal07 Месяц назад

  • @mukulkumar5133
    @mukulkumar5133 14 дней назад

    sir reply node:internal/process/promises:391
    triggerUncaughtException(err, true /* fromPromise */);
    sir pls reply
    I am getting this error

    • @mukulkumar5133
      @mukulkumar5133 14 дней назад

      error solved make the .env file not .env.local

  • @adityashukla9840
    @adityashukla9840 Месяц назад

    I Am getting issue while setting domain in the cryptomus. I Am Choosing meta tag and in my layout.js file i try to add it using this code interface MetaTag {
    name: string;
    content: string;
    }
    interface PageMetadata extends Metadata {
    custom: MetaTag[];
    }
    export const metadata: PageMetadata = {
    title: "Create Next App",
    description: "Generated by create next app",
    custom: [
    { name: "cryptomus", content: "8cae690d" },
    ],
    }; but still geting error

    • @adityashukla9840
      @adityashukla9840 Месяц назад

      If anyone knows the solution please tell me

    • @nitish7380
      @nitish7380 6 дней назад

      how you got the api from the cryptomus ?