Build and Deploy a Full Stack AI SaaS Platform with Next js 14, TypeScript, Stripe

Поділитися
Вставка
  • Опубліковано 15 тра 2024
  • Build a REAL Software-as-a-Service app with AI features and a payments and credits system that you might even turn into a side income or business using Next.js 14, Cloudinary AI, Clerk, and Stripe.
    ✨Get 3 Bonus Credits for your Free Cloudinary Account: cld.media/jsmastery
    📙 Next Cloudinary Documentation: next.cloudinary.dev/
    ⭐ Clerk: dub.sh/j4oY3Io
    🌟 Become a top 1% Next.js 14 developer in only one course: jsmastery.pro/next14
    🚀 Skyrocket your career in 4 months: jsmastery.pro/masterclass
    📚Materials/References:
    GitHub Repository (give it a star ⭐) github.com/adrianhajdin/ai_sa...
    README (assets & code): github.com/adrianhajdin/ai_sa...
    💻 Join our Discord Community - / discord
    🐦 Follow us on Twitter: / jsmasterypro
    🖼️ Follow us on Instagram: / javascriptmastery
    💼 Business Inquiries: contact@jsmastery.pro
    Time Stamps 👇
    00:00:00 - Intro
    00:03:49 - Project Setup
    00:12:12 - Next.js Routing & folder structure
    00:23:21 - Clerk Authentication
    00:37:15 - Layout Sidebar & Mobile Navigation
    01:02:06 - Database & Models Setup
    01:18:54 - Server Actions & Webhook
    01:47:50 - Add Image Form (React Hook Form + Zod Validation)
    02:26:05 - Cloudinary Media Uploader
    02:49:00 - Transformed Image Components
    03:01:10 - Image Server Action
    03:33:25 - Homepage + Search & Pagination
    03:52:10 - Image details, Update & Delete Image
    04:12:21 - Checkout & Pay with Stripe
    04:30:10 - Final Deployment & Production fixes

КОМЕНТАРІ • 671

  • @nishantchaudhari3510
    @nishantchaudhari3510 2 місяці тому +232

    Most hardworking guy on the internet -- Adrian ⚡

    • @javascriptmastery
      @javascriptmastery  2 місяці тому +19

      Thank you! ⚡

    • @user-kd8vg6dx5v
      @user-kd8vg6dx5v 2 місяці тому +4

      I love the vibe and the power of programming, it's like my mother, father, brother, sister and even girlfriend ☺☺

    • @mohitashliya8750
      @mohitashliya8750 2 місяці тому +1

      And its accessible too

    • @bilalshahid5118
      @bilalshahid5118 2 місяці тому +1

      True❤

  • @jayaraj5479
    @jayaraj5479 2 місяці тому +6

    This is hands down the best full stack project I have seen so far on UA-cam. God job and keep it up. Please keep bringing more projects like these. Really appreciate it.

  • @trailovic96
    @trailovic96 2 місяці тому +62

    Not only does he provide such detailed and complex videos in a comprehensive and beginner-friendly manner, but he also follows the most advanced and trending technologies, that will get you equipped with in-demand skills that will land you a job. Adrian, you are a legend, and the fact that you are giving this away for free makes you one of the most amazing people on UA-cam!

  • @yogeshjoshi781
    @yogeshjoshi781 2 місяці тому +25

    The calmness in your voice give that comfort that is needed to pull out such a complex app

  • @user-fz4ds5du4n
    @user-fz4ds5du4n 2 місяці тому +2

    for a French dev, this video is absolutely amazing, I understand everything. ty bro

  • @marketmov7796
    @marketmov7796 2 місяці тому +8

    Hey Adrian, first of all, I want to thank you for such excellent content you create. It's the kind of content that someone might easily reserve for a paid course. I think it would be great if your next class could teach how to create a blog from scratch with a functional newsletter for people to subscribe to. Additionally, integrating it with marketing tools to track the number of followers, etc., would be fantastic. Thank you so much for the effort and time you put into each project and video. You're doing an excellent job!

  • @ArjunCodess
    @ArjunCodess 2 місяці тому +15

    Can we all just thank him for putting soo much effort in his videos? Thank you, Adrian! 😇

  • @farkaszoli9883
    @farkaszoli9883 2 місяці тому +8

    You are the real deal when it comes to learning web development, man!
    Keep it up G, appreciate your hard work!

  • @gamerzchoices
    @gamerzchoices 2 місяці тому +1

    Back again to appreciate your effort you have put in this project. Great explanation along with coding. I started to build it already.

  • @user-uw6cu3nt8e
    @user-uw6cu3nt8e 2 місяці тому +17

    It is Friday evening here in Bhutan. I will download video and learn to code. Thanks a lot, Adrian. I have learned many things from your tutorials.

  • @Tapadar.Monsur
    @Tapadar.Monsur 2 місяці тому +4

    Veličanstveno! Thank you for these wonderful, detailed project videos, Adrian!

  • @2difficult2do
    @2difficult2do 2 місяці тому +4

    It's amazing how you can explain things clearly and easily. Thank you!

  • @Jason-eo7xo
    @Jason-eo7xo 2 місяці тому +2

    im a 27 year full-stack developer and ux/ui designer (node.js and react over the past 10 years) and i still learned a lot. great job!

    • @captainlevi3328
      @captainlevi3328 2 місяці тому

      Did you finish the project?

    • @Jason-eo7xo
      @Jason-eo7xo 2 місяці тому

      @@captainlevi3328 no. didnt need to.

  • @iLoveVisionZ
    @iLoveVisionZ 2 місяці тому +1

    High quality content where you truly get educated & expand our knowledge.
    Appreciate your work.

  • @sid_liftz
    @sid_liftz 2 місяці тому +2

    Am a beginner who is still learning JS but i still like to see your project videos because you make it so easy to understand and follow through the video ❤keep up the good work

  • @alexanderchepkiyeng4853
    @alexanderchepkiyeng4853 2 місяці тому +10

    Sweet!! Another opportunity to learn and explore the capabilities of Shadcn, Cloudinary and Next JS! Currently 80% through learning the Next JS Course! 🤩 Amazing!! Thank you #JSM #Adrian

    • @javascriptmastery
      @javascriptmastery  2 місяці тому +1

      Amazing!

    • @maakayp
      @maakayp 2 місяці тому +1

      Which course are you using for Nextjs? Currently learning React

  • @ahmedbahnasy2243
    @ahmedbahnasy2243 2 місяці тому +9

    Just watched the intro and it's leaving me speechless. Thank God that I am following your channel. And by the way , I was hired in my current company because I added one of your AMAZING projects to my portfolio, so I really hope youtube is full of more people like you . Thank you Adrian.

    • @javascriptmastery
      @javascriptmastery  2 місяці тому +4

      That is awesome!

    • @ajzal_
      @ajzal_ 2 місяці тому +4

      Can i know which project of JSM got you, your curret job?

    • @sharjeeljaved95
      @sharjeeljaved95 2 місяці тому +2

      Can we know Which Project it was

    • @noextrasugar
      @noextrasugar 2 місяці тому +2

      which project?

    • @mcflanky8340
      @mcflanky8340 2 місяці тому +3

      which one and for what role?

  • @adnanekhan5838
    @adnanekhan5838 2 місяці тому

    Their is something fresh & out of the box idea as a tutorial .Keep it up bro

  • @michaelgela
    @michaelgela Місяць тому +1

    I am jealous of the React guys. Your contents are all amazing and informative! I hope someone from the Angular community arises and creates a similar content like this. Though I can migrate this in Angular on my own, it's still helpful to have a similar channel like this. Keep it up!

  • @olanrewajuiremide6303
    @olanrewajuiremide6303 2 місяці тому +6

    Thank you for giving us Startups ideas as tutorial all for free. This is incredible

  • @OscarSebeloanex
    @OscarSebeloanex 2 місяці тому +1

    Dude. Your timing is impeccable. I was just about to look for something similar.

  • @zain_x_alpha
    @zain_x_alpha 2 місяці тому +2

    I am watching your videos from 2 years and I learn many things from you... Thanks for it✨

  • @ahmedahmedx9600
    @ahmedahmedx9600 2 місяці тому

    To be honest bro you are a legend, i wish you made a react course to build such projects like this with all fun libraries you using, I'll definitely buy the course.

  • @aayushvinay1492
    @aayushvinay1492 2 місяці тому

    I'm sooooo in love with your work, you have no idea how much your content helped me getting a job!! ❤❤ Please keep up the good work, it really helps young devs!! 🤗🤗🤗

  • @shubhamk1111
    @shubhamk1111 2 місяці тому +1

    Here you again ❤ with another mind blowing tutorial 🙌🏻

  • @DannyGerst
    @DannyGerst 2 місяці тому +2

    Thanks again for this beauty free of charge. I like these high quality videos of yours. Now I need someone telling me how to build an amazing backend like Cloudinary to skip vendor locking 😀

  • @DoxWilde
    @DoxWilde 2 місяці тому +3

    Second project I've completed from your follow along videos. Thanks very much.

    • @CSEGNaveensaireddy
      @CSEGNaveensaireddy 2 місяці тому

      Hi bro are you completed the whole project

    • @Itlumeeniyathi
      @Itlumeeniyathi 2 місяці тому

      could you please say where did he deploy at 1:27:43 , please 😭😭😭

  • @syedumairnaeem6724
    @syedumairnaeem6724 13 днів тому +1

    Love your videos Adrian. The amount of effort you put in making these is just amazing. And your Ultimate Next JS course is on another level.

  • @arijitparia211
    @arijitparia211 2 місяці тому +2

    You are the best youtuber, Providing ultra premium level content for FREE!

  • @younesmaarouf4141
    @younesmaarouf4141 2 місяці тому

    always amaze me with the great introductions

  • @stanleysstar
    @stanleysstar Місяць тому

    Wow this is exceptional, followed all through and gained alot , thanks JSM

  • @dharmeshtiwari09
    @dharmeshtiwari09 2 місяці тому +6

    Thank you so much... I asked for something using free services with next.js and mongoDb and you made it... Amazing project ❤

    • @javascriptmastery
      @javascriptmastery  2 місяці тому +1

      Enjoy!

    • @ajzal_
      @ajzal_ 13 днів тому

      hi, i had doubt regrading this project, can you share ur mail id so that I can contact you if you have finished this project?

  • @meltjac_Techs
    @meltjac_Techs 2 місяці тому +3

    Eureka I finished...the project was fun...and it has it's real life usages...thanks Adrian for such amazing content❤

    • @javascriptmastery
      @javascriptmastery  2 місяці тому +1

      Great job!

    • @Itlumeeniyathi
      @Itlumeeniyathi 2 місяці тому

      could you please say where did he deploy at 1:27:43 , please 😭😭😭

  • @meltjac_Techs
    @meltjac_Techs 2 місяці тому +1

    Just when I was bored and needed another project to boost my portfolio...Thanks Adrian you the man 💯

  • @c4ex_net
    @c4ex_net 26 днів тому

    멋집니다👍따라해볼 엄두가 나지 않지만 그래도 해보겠습니다🙏건강하고 행복하세요🍀

  • @sygatech
    @sygatech 2 місяці тому +2

    Adrian, person or developer like you I have never seen in my life you are so a generous and great guy. Even I am speechless don't even know what to say and how to even give thanks to you but nothing than just to say keep up the good works and God be with you every. Bosssssss❤❤❤❤❤❤❤❤❤👍👍👍

  • @junaiid0104
    @junaiid0104 2 місяці тому

    you are such a gem day by day I am loving ur videos so much!!!

  • @CodingWithImranJaved
    @CodingWithImranJaved 2 місяці тому +1

    Awesome guy with huge knowledge about app development and share for free. Respect from Pakistan.

  • @allanmunene_game
    @allanmunene_game Місяць тому +1

    Thanks for this nice video. You're the coolest tutor I've encountered since kindergarten.

  • @markus_dev_cwb
    @markus_dev_cwb 2 місяці тому +2

    I have no words to say... Thank you so much!

  • @molizanee
    @molizanee 2 місяці тому +1

    Bro your tutorial are very impressive, its a free video and the knowledge that we take its awesome, a hug of developers from Brazil!

  • @lesbian-dream
    @lesbian-dream 2 місяці тому

    I love Adrian for his great course

  • @furkankaracan2076
    @furkankaracan2076 2 місяці тому +1

    Wow, what a nice tutorial to study over the weekend :D Thankss!

  • @ntormight3964
    @ntormight3964 2 місяці тому +2

    Adrian outpaces his own tutorial every time. 🚀

  • @raphaelazuamaka1553
    @raphaelazuamaka1553 2 місяці тому +1

    Adrian, you are everything you think you are. Thank you for outdoing yourself

  • @sadakajaria33
    @sadakajaria33 2 місяці тому +1

    Man everytime you make me feel overwhelmed, with all these cool projects and I'm still struggling in making todo app

  • @jakescript_
    @jakescript_ Місяць тому

    Adrian the goat, 1 million subs and massive success for you in the future bro!

  • @mahmoudbarmawi4112
    @mahmoudbarmawi4112 2 місяці тому +3

    Really thank you. You provide free projects that are better than all paid projects!

  • @user-ys9po5yd4q
    @user-ys9po5yd4q 2 місяці тому +1

    This is big, Thank you JSM Community.

  • @waltergomez7019
    @waltergomez7019 2 місяці тому +1

    Thank you very much, Adrian, I learn a lot from your tutorials.

  • @thereaper7682
    @thereaper7682 2 місяці тому +1

    Damn.. I'm excited and can't wait to try this one Adrian also please get rid of the three dots that hide Tailwind CSS designs in the div ClassNames cause it's kinda hard to follow if you haven't already. Cheers mate! 👍🏼❤

  • @stadworks
    @stadworks 2 місяці тому +1

    Well i really thank you for your high quality content. you really helped me in my Nextjs journey. We need more people like you

  • @dalestewart
    @dalestewart 2 місяці тому

    Top notch Professional AI Transformation Project

  • @Kobi1973bn
    @Kobi1973bn 2 місяці тому +1

    i love all your vidoes, thank you soo much Adrian God bless you

  • @kenshalom6098
    @kenshalom6098 2 місяці тому

    astonishingly cool work

  • @nitinthewonderer
    @nitinthewonderer Місяць тому

    Top notch stuff Andrian , One thing I couldn’t able to download ARC Browser

  • @pavankumarpulipati1838
    @pavankumarpulipati1838 2 місяці тому +1

    Thanks for the email notification regarding this video upload ❤🎉

  • @ChriScar1979
    @ChriScar1979 19 днів тому

    Awesome! Thank you very much for your tutorials! Could you make one for barber appointment bookings? Make it scalable, where many businesses can have their account by paying a subscription with their own homepage, and many clients can register to book their appointments!

  • @user-op7bi8oc1c
    @user-op7bi8oc1c 2 місяці тому

    Thank you a lot. Respect from Thailand

  • @DigitalCreator5
    @DigitalCreator5 2 місяці тому +3

    What! All this for free 😮 thanks 🙏🏾 a lot Adrian 🎉

  • @DavidJonathan10
    @DavidJonathan10 2 місяці тому +1

    Hi Adrian!
    You are always the best. I comment your work ethics, and the consistency in churnning these great videos out. 💯% Recommended.🔥🔥🔥

  • @georgembajiaku4567
    @georgembajiaku4567 Місяць тому

    Just finished this .. really robust walkthrough. Thanks!
    Other possible features others could add:
    Color picker instead of text input for the color change page.
    Automatic payment into cloudinary if a user subscribes for a paid plan.
    Skeleton loading for the card on home page.
    Thanks a lot again. Learnt so much.
    Please build a project with more heavy functionality with webhooks.

    • @georgembajiaku4567
      @georgembajiaku4567 Місяць тому

      @@shorts_shots514 It'll be something with your webhooks setup.
      check the following:
      * Your webhools route.ts file is located in api/webhooks/clerk.
      * Your webhooks are setup to call your deployed URL. check your dashboard for (baseurl/api/webhooks/clerk)
      *The code in your route.js is correct.

  • @youthfactfactory7877
    @youthfactfactory7877 2 місяці тому +2

    This is awesome project Adrian after your MERN image generation app ❤❤❤.

  • @Samarth_Kamble
    @Samarth_Kamble 2 місяці тому

    One of the Best video, We think you will comes more crazy video than this. Love You Bro ❤❤❤❤

  • @mohammadabbas1623
    @mohammadabbas1623 2 місяці тому +2

    Last figma and now this ur taking the game to next level

  • @richardmasters2045
    @richardmasters2045 2 місяці тому +1

    Wow, I’m gonna have a great weekend 😂 you’re my super hero 🎉

  • @opereznet
    @opereznet 2 місяці тому +1

    Adrian, God bless you, you are the man, you are the best... Thanks for sharing your knowledge !

  • @couldbeAlex
    @couldbeAlex 2 місяці тому

    I was looking for any tutorial on how to build something similar to Peter Levels interiorAI, like, i had no clue how he is able to let you upload a room image and get variations, I bet this video will give the concepts I need

  • @superhumandose
    @superhumandose 2 місяці тому +1

    Wow man, this is awesome. Thank you very much

  • @razzaqmohammedali4653
    @razzaqmohammedali4653 2 місяці тому +1

    JSM, actually giving huge success in many developers career, thanks you so much Adrian

  • @AshishRaj-tu6sl
    @AshishRaj-tu6sl 2 місяці тому +2

    Absolutely amazing work sir

  • @umairulislam9048
    @umairulislam9048 2 місяці тому +2

    Your hard work deserve 1M subscribers and you will get it soon. ❤

  • @user-hk9du7mj8e
    @user-hk9du7mj8e 2 місяці тому +2

    For those getting "User not found" error, it seems this is happening when you try to sign up for the very first time (that is, users collection is empty in db) with a google account, if you try to sign up with the email and password option, this will create the users collection in the database and will even add the gmail account you tried with the first time, not sure exactly why. Anyway, after creating the first user, I was able to sign up with a second gmail account with no issues.

    • @Asaspor
      @Asaspor 2 місяці тому

      Or sign in with GitHub. I was just about to give up on another tutorial, when I read your comment, so thank you! He did say to make sure to sign in with a different account, but he didn't emphasize it enough.

  • @ralphrosael
    @ralphrosael 2 місяці тому +1

    Woah! Awesome project! 🤩🔥

  • @varunsalat619
    @varunsalat619 2 місяці тому +1

    thank you for your hardwork bro. You deserve more and more 🎉😊

    • @javascriptmastery
      @javascriptmastery  2 місяці тому

      Thank you so much, I'll always continue to do more! 😊

  • @hosseinmostajeran2365
    @hosseinmostajeran2365 2 місяці тому +1

    Wow. Absolutely amazing

  • @nishantchaudhari3510
    @nishantchaudhari3510 2 місяці тому +3

    Thank you bro Adrian ⚡⚡

  • @coderabdullahi444
    @coderabdullahi444 2 місяці тому +2

    😮 OMG THIS IS REALLY AWESOME 👌 . THANKS MAN 👨 . FROM SOMALIA 🇸🇴 🇸🇴 🇸🇴

  • @saqlainkazmi6253
    @saqlainkazmi6253 2 місяці тому

    keep going bro you doing good job Love your ❤❤❤❤ content

  • @xade8381
    @xade8381 2 місяці тому +1

    bombarding with unique stuff,
    would also love to have some vanilla tutorials without any framework

  • @ziontutorial
    @ziontutorial 2 місяці тому +1

    I was just about to look for something similar. AI project which i want to build all are in same video really thanx you r great.

  • @junaiid0104
    @junaiid0104 2 місяці тому

    bro you are literally next level 🤩🤩🤩🤩🤩🤩

  • @spaqoo
    @spaqoo 2 місяці тому +3

    Andran, you are doing well, but it could be even better if you offered a mini bootcamp covering JavaScript to full-stack development live. This way, we could interact with you directly

  • @rashadstack3329
    @rashadstack3329 2 місяці тому

    I love you bro
    this the thing I need to learn

  • @kaushikmoralwar07
    @kaushikmoralwar07 2 місяці тому +1

    Adrian I want to take a moment and Thank you for your work it has really helped me a lot learning key skills of nextjs also how to apply them in real life🎯

  • @gamerzchoices
    @gamerzchoices 2 місяці тому +2

    You are king of startups ❤

  • @2ru2pacFan
    @2ru2pacFan 2 місяці тому +3

    You probably do know this but most likely you don't, we really do love you dude! ❤ No seriously beyond these amazing projects, you really are changing lives and not too sure what will happen in the future but if you were to take anything from all this, just know you really are an inspiration and we got too much love and respect for you sir 🫡 thank you and you may not be Muslim but may Allah bless you ♥

  • @ncac8122
    @ncac8122 2 місяці тому +1

    For anyone that has a problem with the webhooks try this:
    1.Go to your project in vercel >Settings > Deployment protection and disabled Vercel Authentication
    2. check that the endpoint of clerk doesnt have a "/" at the end

    • @chukwunweikeemmanuel6614
      @chukwunweikeemmanuel6614 2 місяці тому +1

      Thanks you for taking the time to drop this. Disabling Vercel Authentication did it for me

  • @naarayanakumar5877
    @naarayanakumar5877 2 місяці тому +1

    The hero we all need. Adrian is what I inspire to be one day:)

  • @codemantis5986
    @codemantis5986 Місяць тому

    Hi, loved the project, I've got a request, please make a video on how do you prepare a project to be developed with tailwind css from a figma file to a full nextjs project. How do you prepare your utility classes and tailwind config files and the thought process around it. Thanks

  • @okekeemmanuel8852
    @okekeemmanuel8852 2 місяці тому +3

    Always giving us the best

  • @hooooman.
    @hooooman. 2 місяці тому +3

    Hey Adrian, already requested you about this in linkedIn, anyway once again requesting you that, please upload a tutorial about microservices architecture in node js, kubernetes, etc so that to build a scalable real world advanced projects . Only you can teach those in a beginner friendly manner !

  • @muatasimahmed2343
    @muatasimahmed2343 2 місяці тому +1

    Thank for making this amazing app ! and taking my feedback on linkedin

  • @LolLol007
    @LolLol007 2 місяці тому +1

    Great, I have no words that's awesome

  • @unkownsiner
    @unkownsiner 2 місяці тому

    Could you do a tutorial on supabase and nextjs. Great video really enjoying it!

  • @KnowledgeTECGuru
    @KnowledgeTECGuru 17 днів тому

    Tq for this amazing project ❤

  • @TryingCodeEng-58208
    @TryingCodeEng-58208 2 місяці тому

    you are the best creator on internet

  • @ishmeetsingh8687
    @ishmeetsingh8687 2 місяці тому +1

    This is something crazy bro. You are doing next level things, so glad that we have found a such talented developer like you.
    But I have just one doubt, which is if I deploy this then how will I manage the large user base , basically I want to ask how will we make it a scalable application.

    • @javascriptmastery
      @javascriptmastery  2 місяці тому +1

      You can scale it to up to 10,000 monthly users for free

  • @kumargupta7149
    @kumargupta7149 2 місяці тому +1

    As always Adrian best❤

  • @yugal8627
    @yugal8627 2 місяці тому +1

    Wow Adrian it's fantastic, I think now it will add new technology in my bucket, please introduce Prisma in your next tutorial🙂🙂