Build and Deploy a Full Stack MERN AI Image Generation App | Midjourney & DALL-E Clone

Поділитися
Вставка
  • Опубліковано 6 лип 2024
  • MidJourney and DALL-E are taking over social media. Dive into the world of artificial intelligence and build your own version of these tools that can generate everything from memes and art to beautiful UI/UX designs!
    ⭐Hostinger - www.hostinger.com/mastery
    Use the code JAVASCRIPTMASTERY to save up to 91% on all yearly hosting plans.
    💻JS Mastery Pro Courses - jsmastery.pro/youtube
    ✅ A special UA-cam discount code is automatically applied!
    📚 Materials/References:
    GitHub Code (give it a star ⭐) - github.com/adrianhajdin/proje...
    Assets - drive.google.com/file/d/12ZCr...
    GitHub Gist (code to copy) - gist.github.com/adrianhajdin/...
    Alongside building this application, you'll learn how to use the most in-demand tools today:
    1. Node.js, Express.js, MongoDB, and React.js together form the powerful MERN stack
    2. Tailwind: The most popular CSS framework nowadays
    3. OpenAI's DALL-E model: A deep learning model that generates images from text input
    4. Cloudinary: A cloud-based image storage service
    💻 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:06:31 Setup
    00:22:04 Homepage
    00:35:15 Create post page
    00:59:11 Backend
    01:22:54 Integrating backend to frontend
    01:58:58 Deployment

КОМЕНТАРІ • 1,5 тис.

  • @javascriptmastery
    @javascriptmastery  Рік тому +23

    Want to land your dream programming job in 3 - 6 months?
    ⭐ JSM Masterclass Experience - jsmastery.pro/masterclass
    Become a Software Engineer. Guaranteed.

    • @timecapsule9338
      @timecapsule9338 Рік тому +2

      Hello sir, does your api works now. i think i is not free now we sould buy now. if there is any suppliment please provide us.

    • @satyammishra-xb3hs
      @satyammishra-xb3hs Рік тому +1

      @@timecapsule9338 Gym Supplement?

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

      @@timecapsule9338 creating your own AI might work, hahaha jk

    • @user-zt3zb4cf4j
      @user-zt3zb4cf4j 6 місяців тому

      Cost of the course?

    • @Cryptoheady
      @Cryptoheady 5 місяців тому

      For this there is a soln mern section in discord github rep is also there

  • @AhmedSiddiqui-dz3up
    @AhmedSiddiqui-dz3up Рік тому +75

    I cannot believe such a comprehensive guide can exist for free in UA-cam. People on Udemy will charge you 60$ for a similar course and here you are doing it for free ?! World owes you so much, man.

  • @queenofsheba8275
    @queenofsheba8275 Рік тому +32

    I've been searching for a tutorial like this on UA-cam for a few months, and I didn't find anything like it until now. Your tutorials are always unique and never done before. I promise to register for your paid courses once I can afford to, your content is gold.

  • @charlesxstorm
    @charlesxstorm Рік тому +4

    At this point, the world definitely owes you so much. Thank you for the crazy amount of time you spend in creating your tutorials.

  • @Junyoung_Kang
    @Junyoung_Kang Рік тому +9

    This guy knows exactly what is UP! Thank you so much for keeping us with the most updated knowledge.

  • @AlonnaWade
    @AlonnaWade Рік тому +3

    I agree with everyone else. The entire Build (Tutorial /Presentation) was absolutely amazing!! The details, tips, techniques and planning were definitely shown and very much appreciated!

  • @nguhelon7015
    @nguhelon7015 Рік тому +8

    THANK YOU so much javascript mastery. Be rest assured we are so grateful for your work and be sure it helps more people than you can imagine. Thank you

  • @patrykorowski4141
    @patrykorowski4141 Рік тому +9

    Your content never fails to impress. Your vocal delivery is top-notch, the web design is sleek and visually appealing, and the information presented is always current. Your innovative approach to each project keeps the material engaging, making it the best UA-cam channel I have subscribed to. I am using the Frontend Meta Course as a supplement to your tutorials to strengthen my grasp on the subject matter, and it has been invaluable in solidifying my understanding. Keep up the fantastic work!

  • @soltiscd
    @soltiscd Рік тому +8

    I love how you stop and went over what we have completed, at the 1hour 15 minute mark. It helps solidify what we've done and what we're about to do. Great stuff as always.

  • @cr_spirit3986
    @cr_spirit3986 Рік тому +1

    Seems like he's the only one who could get me to understand react. What a great tutor

  • @personalfile3873
    @personalfile3873 10 місяців тому +71

    If someone is currently following this tutorial, please note that as of today's date, the code might not work at 1:25:00 due to the API now being paid.

    • @shiveshnandan4427
      @shiveshnandan4427 10 місяців тому +1

      thank you

    • @akshayKumar-kx9mm
      @akshayKumar-kx9mm 10 місяців тому +2

      then what is the alternative to work?

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

      ohhh noooooo! what should I do nooww?🤦‍♂🤦‍♂

    • @AabidKhan-bv7qk
      @AabidKhan-bv7qk 10 місяців тому +2

      same man !!!! stuck at Billing hard limit has been reached

    • @samuelnoel4186
      @samuelnoel4186 10 місяців тому +6

      The Solution for this is to create another account with a different phone number you will get 5$ free credits valid for 3 or 4 months... Each prompt request is approx 0.02 dollars so send them carefully

  • @wilsonmela6343
    @wilsonmela6343 Рік тому +10

    You always want to make me cry with the quality of tutorials you put out for free. Your channel has completely changed and shaped my programming journey. Thank you.

  • @salonisingh3167
    @salonisingh3167 7 місяців тому +9

    Hello everyone, if you are stuck at 1:26:20 and you are getting Failed to fetch error, make sure to rectify below code in your backend:
    const aiResponse = await openai.images.generate(
    {prompt,
    n: 1,
    size: '1024x1024',
    response_format: 'b64_json'
    })

    const image = aiResponse.data[0].b64_json

    return res.status(200).json({photo: image})

    • @omarkhelifi
      @omarkhelifi 5 місяців тому +1

      it's same error
      he return this message (Billing hard limit has been reached)

    • @samarjeetdangi4297
      @samarjeetdangi4297 5 місяців тому

      Thank You 👍🏻👍🏻

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

      not worked sane error

  • @simonbelissa7809
    @simonbelissa7809 Рік тому +9

    Thank you so much Adrian for your amazing work. I've been wanting to build mine and couldn't get it done !

  • @geev1044
    @geev1044 Рік тому +2

    Amazing Ive been waiting for a MERN stack course ,Thank You!

  • @edwintjoa6099
    @edwintjoa6099 Рік тому +3

    Thank you so much for another awesome video on Full Stack MERN. The deploy section really helps to make things go live.

  • @icongrindsetsfj
    @icongrindsetsfj Рік тому +26

    Anyone facing error with the api ("Billing ha..."), you need to make a new account at open ai and use the api key from the new account. You are facing this error because the api is paid. With the new account you will get 5$ worth of free credits, each api call costs 0.02$ so be careful making too much requests. Keep learning, hope this helps!

    • @yosayaan7013
      @yosayaan7013 Рік тому +2

      Thanku so much man!
      Facing problem with the error, thanks for telling, now i can move on

    • @ls0359
      @ls0359 Рік тому

      sorted out after facing the problem from yesterday , that means only 250 requests are allowed per API Key

    • @piyushcodes5530
      @piyushcodes5530 Рік тому

      Thanks Buddy. You Saved me.

    • @venilsavaliya3004
      @venilsavaliya3004 Рік тому

      @@piyushcodes5530 i try with new account also ,but still this error occur. Is there any limit in api for limited request per minute or hour ?

    • @2alaa3ali67
      @2alaa3ali67 Рік тому

      @@venilsavaliya3004 yes 3 img/5 min

  • @DharmikNavadiya
    @DharmikNavadiya Рік тому +2

    Was waiting for this masterpiece , BRAVO 🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥

  • @mazharansari7813
    @mazharansari7813 Рік тому +5

    Wow few days back just finished learning MERN and now you uploaded this video feeling excited 😄😄

    • @javascriptmastery
      @javascriptmastery  Рік тому +1

      Perfect time!

    • @mazharansari7813
      @mazharansari7813 Рік тому

      @@javascriptmastery Yes absolutely!! 🤠🤠

    • @abhijithp5046
      @abhijithp5046 Рік тому

      Hi, is there any free course or youtube video to learn MERN?

    • @rupalisharma2674
      @rupalisharma2674 Рік тому

      @@javascriptmastery i m not able to generate images from API, it shows error like (expected token 'B', "Billing ha"... is not valid JSON) can you resolve this issue..

  • @derekprieur5258
    @derekprieur5258 Рік тому +26

    Phenomenal video JSM! Clean minimal design, Node/Express/Mongo/API practice & relevant AI work. This one truly is a complete package, thank you team 👍

  • @hamzaawan.developer
    @hamzaawan.developer Рік тому +2

    You are amazing, I looking for MERN projects this week. Thank you JSM.

  • @mateusleal1254
    @mateusleal1254 Рік тому

    I'm Brazilian and here we don't have content like yours.... simply amazing....

  • @AdityaTiwari-vu3je
    @AdityaTiwari-vu3je Рік тому +12

    We love you Javascript Mastery. I learned so much from you guys and I finally learned how to use AI Api's.

  • @itsmerakesh_official
    @itsmerakesh_official Рік тому +24

    Thanks to this dude, I found the systematic and easy way to learn MERN by building projects. I wish you and your channel to grow more😊

  • @codewithguillaume
    @codewithguillaume Рік тому +1

    Thank you so much for this course !

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

    Another amazing project!!!... as always. Thanks Adrian for all you give us!!!...

  • @lazeezbiryanii
    @lazeezbiryanii Рік тому +4

    I was following your react ui ux course and now I'll do this too please create more mern projects 😋

  • @wisdombassey2804
    @wisdombassey2804 Рік тому +39

    We love you Javascript Mastery. 😍 You're a blessing to the Javascript Dev Community 🙌🙌🙌

    • @javascriptmastery
      @javascriptmastery  Рік тому +5

      Thank you!!!

    • @Deekshisaisrini
      @Deekshisaisrini Рік тому

      @javascript Mastery is a cheater...he sent $69 but he didn't help me with the work he didn't send the money back also

    • @javascriptmastery
      @javascriptmastery  Рік тому

      @@Deekshisaisrini What are you talking about? I didn't accept any money from you? It's possible you got scammed.

    • @Deekshisaisrini
      @Deekshisaisrini Рік тому

      @@javascriptmastery I have proofs can I share here

    • @javascriptmastery
      @javascriptmastery  Рік тому

      @@Deekshisaisrini please reach out to me via email at contact@jsmastery.pro

  • @jhonatanoliveira4183
    @jhonatanoliveira4183 Рік тому +1

    Awesome!!! Thanks for show us what no ones would to show for free! You're the real JS Master.

  • @hoangthiendo1909
    @hoangthiendo1909 Рік тому +1

    Another great tutorial 💪💪 Thanks Adrian

  • @aryanshah3967
    @aryanshah3967 Рік тому +8

    Attention to those who are getting fetch error at 1:25:00 i.e. image is not loaded and our prompt shows up in the screen.
    Most probably your API Key usage has expired or you are out of credits.
    Solution: Create another account with new phone no. to again get $5 credits for free.

    • @vilokmasuti4772
      @vilokmasuti4772 Рік тому

      Bro my css version used in this version is v3.24 but right now in website it's showing v 3.34 what to do I'm not getting

  • @andriyabu
    @andriyabu Рік тому +2

    Thank you man. As usual, awesome content.

  • @johnsonogbu8697
    @johnsonogbu8697 Рік тому

    Can't ask for anything more.
    This is epic.

  • @luiscrespol8640
    @luiscrespol8640 Рік тому +4

    This tutorial was absolutely amazing!! The details, tips, techniques, and planning were definitely shown and explained!

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

      Is everything used in this tutorial is free or do I have to pay for something

  • @mindbodyps
    @mindbodyps Рік тому +14

    Bro you are killing it.
    There is no other channel on whole internet, who can provide more value in terms of web development then you.

  • @RajeevCanDev
    @RajeevCanDev Рік тому +1

    The best tutor I've ever seen in my life and probably will not witness another!
    you are the God of development for sure! GOAT.

  • @muhammadalbendakji7690
    @muhammadalbendakji7690 Рік тому +1

    Having notification from JavaScript Mastery ---> it's coding TIME 😍😍

  • @Zephyr314
    @Zephyr314 Рік тому +6

    Just finished the tutorial. Thank you so much I learned a lot

    • @dhananjay7937
      @dhananjay7937 Рік тому

      Have you completed entire project? Is it working very well?

    • @dhananjay7937
      @dhananjay7937 Рік тому +1

      @@Zephyr314 Thank you so much

    • @dhananjay7937
      @dhananjay7937 Рік тому

      I visited your deployed site.
      It's showing this error. "SyntaxError: Unexpected token 'B', "Billing ha"... is not valid JSON".

    • @Zephyr314
      @Zephyr314 Рік тому

      @dhananjay7937 I don't think you can use commas in the prompt. Try to remove all punctuation

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

      Is everything used in this tutorial is free or do I have to pay for something

  • @richardmasters2045
    @richardmasters2045 Рік тому +6

    Yessss!!! Sensei, thank you for sharing your wisdom. I shall study, learn and build my empire with use of your amazing knowledge and instruction. Bless you JavaScript Mastery you have helped me to change my world 🙏

  • @naganathan5312
    @naganathan5312 Рік тому +1

    😍👏Wow amazing JM, do more Mern-related videos like this

  • @imreboloni2921
    @imreboloni2921 Рік тому

    A great content a lot to learn from this. Great job Adrian keep it up like this!! 👍

  • @mrdiin.dev_
    @mrdiin.dev_ Рік тому +14

    Literally completed the video and coded everything along and I've learnt so much! How is this channel free, whoah.
    Also, I saw that you can deploy the client side to render as well and just point it to a subdomain and it works like a charm!

    • @javascriptmastery
      @javascriptmastery  Рік тому +2

      Thank you!!

    • @63montywilliams50
      @63montywilliams50 Рік тому

      have you had any issues with your apikey?

    • @mrdiin.dev_
      @mrdiin.dev_ Рік тому

      @@63montywilliams50 Hi, no, not really. What is the issue you're facing ?

    • @LalaYamazaki
      @LalaYamazaki Рік тому

      @@mrdiin.dev_ Also stuck with apikey. It just wont upload the photo. Any ideas why?

    • @mrdiin.dev_
      @mrdiin.dev_ Рік тому

      @@LalaYamazaki Are you using the API key in the video ? You need to create your own since you can't use someone else's. They probably deleted it right after making this video to avoid being charged.

  • @eg7613
    @eg7613 Рік тому +3

    I think for every api request, you should show the network tab and show that as well. That way the user can see exactly the response, payload etc. Will def help a lot with debugging

  • @akshitajha1209
    @akshitajha1209 Рік тому +1

    We want more mern projects, addicted to your channel!!

  • @ahmedmusawir
    @ahmedmusawir Рік тому +2

    Your work should be rewarded with a Nobel Prize ... Nothing short of that is enough ... In fact, you should also receive an Oscar for your designs ...

  • @afrancis7475
    @afrancis7475 Рік тому +7

    I'm baffled by the fact that this is for free. I wish that I had this when I was still a 15/16 year old student starting off my coding adventures

  • @PavelSergienko
    @PavelSergienko Рік тому +3

    If you have an issue with JSON while generating new image, just regenerate new API key on openai

    • @harshtiwari2578
      @harshtiwari2578 Рік тому

      can you tell why i am getting this error SyntaxError: Unexpected token 'I', "Incorrect "... is not valid JSON

  • @abdelilahaassou6333
    @abdelilahaassou6333 6 місяців тому +1

    Great content, and please don't wait for 20k to make more videos about AI like this, I guarantee you that this content will make your channel more famous 😉

  • @Toprinking
    @Toprinking Рік тому +1

    it's fantastic , good work JSM

  • @mdk-west
    @mdk-west Рік тому +5

    I've completed this course and although I found some hiccups on the way, it was all something that could be resolved within a few moments (the issues were mostly OpenAI related as their API became monetized very recently)
    Thank you so much Adrian for this free course and I'll definitely add this to my portfolio for future employers!

    • @akshitajha1209
      @akshitajha1209 Рік тому

      I am also facing a lot of issues, it can't generate images, sone fetching issues, why is it happening 🥲

    • @mdk-west
      @mdk-west Рік тому

      @@akshitajha1209 I can try to help you if you're still having issues~! keep in mind that the api has now been monetized and unless you add a payment method to your OpenAI account, it will give you an error about Billing

    • @akshitajha1209
      @akshitajha1209 Рік тому

      @@mdk-west idk about monetization issues but I had changed about 10 api keys and then it worked, still too slow
      But now it's working 😮‍💨

    • @mdk-west
      @mdk-west Рік тому

      @@akshitajha1209 oh got it.
      well, for me it works pretty well considering the fact that I do pay for hosting (render is pretty pretty slow if you're on the basic plan)

    • @ViditGoel-qp5ht
      @ViditGoel-qp5ht Рік тому

      @@mdk-west at 1:26:40 it shows alert "SyntaxError: Unexpected token 'I', "Incorrect "... is not valid JSON" can you please help?

  • @Liebendan
    @Liebendan Рік тому +4

    Great content, thanks for all yours hard work!!
    Would be great if this could become a web3 project where users can deploy the art as a NFT and have it linked to their wallet and of they connect wallet they can see their own good profile of creations

    • @javascriptmastery
      @javascriptmastery  Рік тому +1

      Great suggestion!

    • @adelekeadekunle8365
      @adelekeadekunle8365 Рік тому +1

      My exact thought

    • @Liebendan
      @Liebendan Рік тому

      @@javascriptmastery thanks for the reply

    • @rupalisharma2674
      @rupalisharma2674 Рік тому

      i m not able to generate images from API, it shows error like (expected token 'B', "Billing ha"... is not valid JSON) can you resolve this issue..

    • @rupalisharma2674
      @rupalisharma2674 Рік тому

      @@javascriptmastery i m not able to generate images from API, it shows error like (expected token 'B', "Billing ha"... is not valid JSON) can you resolve this issue..

  • @ni_kabiu_john
    @ni_kabiu_john Рік тому

    Love your classroom.. to the moon to Jupiter to ends of galaxies.. you are a true blessing to the Developer community

  • @imoh5202
    @imoh5202 Рік тому +2

    Thank you my new found mentor. Your tutorials are timely and very helpful. I also like the fact that you use Visual Studio code.

  • @david_83_
    @david_83_ 3 місяці тому +5

    So, at 1:26:34 you might be getting an internal server error.
    This is because the API is not free anymore.
    You can create an account with a new email and phone number to get 5$ free or pay as much as you want with your current account ($5 min).
    Also the current version of Open AI differs from the version used in the video.
    For the new version the configuration is :
    ```import OpenAI from 'openai';
    const openai = new OpenAI({
    apiKey: process.env.OPENAI_API_KEY
    });
    ```
    And the image generation :
    ```
    const aiResponse = await openai.images.generate({prompt:prompt,n:1, size:'1024x1024', response_format:'b64_json'})
    const image = aiResponse.data[0].b64_json
    ```
    In CreatePost you have to write exactly what Adrian wrote : `data:image/jpeg;base64,${data.photo}` because it's not going to work otherwise
    Cheers

    • @juancarlosrodriguez1085
      @juancarlosrodriguez1085 3 місяці тому +1

      Thanks a lot!!!!...Finally I've got my first image here!!!!....MANY THANKS!!!!...

  • @khizrshaikh9902
    @khizrshaikh9902 Рік тому +2

    Thanks for this Sir Adrian

  • @mrgkd5767
    @mrgkd5767 Рік тому +1

    Adrian! I just want to say thank you. God bless you. You’re a very good man and we’re all grateful for your life!

  • @anazi
    @anazi Рік тому +5

    My god ! What a presentation. What a code ! What a performance! What a project. You have raised the bar far far for content creation.

  • @armansotude1474
    @armansotude1474 Рік тому +1

    Again with another mind blowing project ❤

  • @hamoodhabibi7026
    @hamoodhabibi7026 Рік тому +1

    YES THIS IS the tech stack i've been waiting for

  • @strahinja2977
    @strahinja2977 Рік тому +9

    at about 1:40:00 I have an error (500 Internal server error) but it still navigates back to main page and shows error only in console, not alert. Error is at the point where it is supposed to fetch data from /api/v1/post. It only shows error 500, returns to home page and starts loading cards but that is never finished, never shows an error. All the images are successfully uploaded to Cloudinary but it still shows an error and it's not loading them in the main page.

    • @bhuwanchhimal9784
      @bhuwanchhimal9784 Рік тому +1

      I am getting the same error have you find a solution yet?

    • @strahinja2977
      @strahinja2977 Рік тому

      @@bhuwanchhimal9784 No, still having the same error after looking through the whole video again while checking the spelling and everything.

    • @asadqureshi126
      @asadqureshi126 Рік тому

      Are you still on it?
      Can you paste your postRoutes.js file content here. Maybe I can help.
      I ran into some errors but finally website was working.

    • @bhuwanchhimal9784
      @bhuwanchhimal9784 Рік тому

      @@asadqureshi126 ok wait

    • @bhuwanchhimal9784
      @bhuwanchhimal9784 Рік тому

      @@asadqureshi126
      import express from 'express';
      import * as dotenv from 'dotenv';
      import { v2 as cloudinary } from 'cloudinary';
      import Post from '../mongodb/models/post.js';
      dotenv.config();
      const router = express.Router();
      cloudinary.config({
      cloud_name: 'process.env.CLOUDINARY_NAME',
      api_key: 'process.env.API_KEY',
      api_secret: 'process.env.API_SECRET',
      });
      //get all posts
      router.route('/').get(async(req, res) => {
      try {
      const posts = await Post.find({});
      res.status(200).json({ success: true, data: posts });
      } catch (err) {
      res.status(500).json({ success: false, message: 'Fetching posts failed, please try again' });
      }
      });
      //create a post
      router.route('/').post(async(req, res) => {
      try {
      const { name, prompt, photo } = req.body;
      const photoUrl = await cloudinary.uploader.upload(photo);
      const newPost = await Post.create({
      name,
      prompt,
      photo: photoUrl.url,
      });
      res.status(200).json({ success: true, data: newPost });
      } catch (err) {
      res.status(500).json({ success: false, message: 'Unable to create a post, please try again' });
      }
      });
      export default router;

  • @ayushpanday3701
    @ayushpanday3701 Рік тому +3

    Seriously this video is outstanding!!
    The only thing I am stucked on is 1:25:30.
    It is saying me "Failed to fetch". Can you please tell me where am I wrong?

    • @36-mariajoseph35
      @36-mariajoseph35 Рік тому +1

      same here . Have you resolved it? Please reply

    • @umar3167
      @umar3167 Рік тому +1

      @@36-mariajoseph35 Same here, Have you resolved it ?? Let me know...

    • @vatsalsrivastava7135
      @vatsalsrivastava7135 Рік тому +1

      Same here have you resolved it ??

    • @harsh.jain22
      @harsh.jain22 10 місяців тому

      yes, I am also stuck here from hours error : ( TypeError : Failed to fetch ), if you have resolved this error please tell me

  • @Abdullahyasharmota
    @Abdullahyasharmota 6 днів тому

    И вновь сочная связка 🤤 Всегда удивлялся, где Вы так быстро находите хорошие связи. Продолжайте в том же духе!

  • @akshitgupta4749
    @akshitgupta4749 Рік тому +137

    Don't do this project although it is very well explained but OPEN AI no longer supports free API access :(

    • @adityaagarwal2324
      @adityaagarwal2324 Рік тому +9

      But akshit , it gives free credits points to get image each month, still should i make this project?

    • @Khushi-ov5ww
      @Khushi-ov5ww Рік тому

      ​@@adityaagarwal2324hey I tried it's still not working

    • @GurpreetSingh-ps6kl
      @GurpreetSingh-ps6kl Рік тому +3

      Yea lol just wasted my time again......

    • @aditya6431
      @aditya6431 Рік тому +10

      Rapid Api gives free access. Through rapid api, we can do this project.
      Adrian has used rapid api in one of his new project video

    • @adityanimje8474
      @adityanimje8474 Рік тому +6

      Its still free yk, my project works just fibe

  • @PetriikVx
    @PetriikVx Рік тому +1

    Amazing project, made my day, learned a lot and got hostinger! God bless you bro.

  • @griffinkirkland9087
    @griffinkirkland9087 Рік тому +1

    I have to include JSM whenever i'm doing my gratitude session!
    Grateful for your existence👏

  • @lequangnghi194
    @lequangnghi194 Рік тому +3

    Thanks for this great tutorial 🙏
    Can someone help me?
    After deploying the app on Netlify, I'm always getting "Failed to fetch" error, does anyone know how to fix it? 🥺

    • @_elusivex_
      @_elusivex_ Рік тому

      Did you upload the whole folder directly in netflix? If yes then I can help.

    • @lequangnghi194
      @lequangnghi194 Рік тому

      @@_elusivex_ I uploaded the whole 'dist' folder to Netlify, do you know how to fix the issue?

    • @Flower-ho2kp
      @Flower-ho2kp Рік тому +1

      I hame the same issue... Did you solve this problem?

  • @revanthm2982
    @revanthm2982 8 місяців тому +4

    Failed to fetch error when I click generate

  • @stevendicunguye9997
    @stevendicunguye9997 Рік тому +1

    What an amazing video!

  • @prospernglazi7444
    @prospernglazi7444 Рік тому +1

    The man, the legend strikes again!!

  • @abdulakimovxurshidbek
    @abdulakimovxurshidbek Рік тому +3

    I'm getting an error. Unexpected token 'B', "Billing ha"...is not valid json. Can anyone help me??? Please 😢

    • @saiteja335
      @saiteja335 Рік тому

      double check the before step spelling mistakes bro

    • @abdulakimovxurshidbek
      @abdulakimovxurshidbek Рік тому

      @@saiteja335 billing gard limit has been reached it's the response that I'm getting, when i send a request to openai api

    • @Arun-ze1ue
      @Arun-ze1ue Рік тому +1

      Stuck in the same place 🥺

    • @laharikrishnam9684
      @laharikrishnam9684 Рік тому

      did you find the solution for this error? I am stuck here too

    • @abdulakimovxurshidbek
      @abdulakimovxurshidbek Рік тому

      @@laharikrishnam9684 No, I didn't 😔

  • @progamingdz5717
    @progamingdz5717 4 місяці тому +6

    Api not free I build the Ui I just waste my time

  • @kietdang8534
    @kietdang8534 Рік тому

    Thank you so much JavaScript Mastery.. Love your content

  • @Matty100
    @Matty100 Рік тому

    Even though it doesn't like some of my requested images 😇 it is still an incredible app. What a great video, thank you JSM!!

  • @youhavetodoit9070
    @youhavetodoit9070 Рік тому +1

    Thank You So Much Man , May God Bless You :)

  • @lisandraanacampslabanino8040
    @lisandraanacampslabanino8040 Рік тому +1

    Amazing video tutorial, Thank you JSM

  • @zey-
    @zey- Рік тому

    thank you brother these videos are really professional and help a lot, absolutely love these!

  • @mehdikhoshsavartehran7061
    @mehdikhoshsavartehran7061 Рік тому +1

    perfect as usual!!!!!!

  • @meheraabarvy4134
    @meheraabarvy4134 Рік тому +1

    Unbelievable service we are getting from you for free! Every time it amazed me how can you do it! Congratulations for 500K subs.

  • @user-yf8hr1fe5u
    @user-yf8hr1fe5u Рік тому +1

    Great content! One potential bug is that, in the `handleSearchChange` function, we use `item.name.toLowerCase().includes(searchText.toLowerCase())`; however, the `setSearchText` is also called within this function and the update of the state `searchText` occurs in the next render cycle and the filtered results is based on the old one.

  • @renatoknot
    @renatoknot Рік тому +1

    Love this channel... Keep going my friend 💪

  • @faizanakhtar9086
    @faizanakhtar9086 Рік тому

    Thank you for creating such a nice project

  • @SA-fy8th
    @SA-fy8th Рік тому +1

    Ah your skill is on whole another level keep it up!

  • @sergiorojas2353
    @sergiorojas2353 Рік тому +1

    You are incredible. I love your videos, dont stop.

  • @Cuzinz
    @Cuzinz Рік тому

    thank you so much i learned alot from this video, i finished the whole project and posted it on my github !

  • @faroukayomide5214
    @faroukayomide5214 Рік тому +1

    This is another excellent project video
    Thank you so much 🙂

  • @pedroparadaavendano491
    @pedroparadaavendano491 Рік тому

    This guy is the best teacher I have ever ran into. I am learning so much with him!!

  • @user-ny9uu8mv5i
    @user-ny9uu8mv5i Рік тому

    Great video, got it up and running after a little bit of debugging around the api keys. Thanks!

  • @msalameh01
    @msalameh01 Рік тому

    excellent as usual

  • @sakshan4136
    @sakshan4136 Рік тому

    You are doing a great job man

  • @zolac9732
    @zolac9732 Рік тому +1

    Adrain You are the GOAT when it comes to JavaScript. Thanks alot.

  • @Yahya_Umar
    @Yahya_Umar Рік тому

    I just watched your new video and I'm impressed with the level of creativity and production value. Keep up the great work, I can't wait to see what's next.. I hope you're doing well. I'm looking forward to your new videos for our social media project. Keep up the great work! Can't wait to see what you have in store for us next. Thank you.

  • @studyMiku1123
    @studyMiku1123 Рік тому

    very very nice video and I learned a lot ! Thank you!

  • @mayankkashyap79
    @mayankkashyap79 Рік тому +2

    I don't have words for such an amazing video. Keep giving this kind of content it helps a lot.
    This Single video helped me to recap lots of different things.
    ❤️❤️❤️❤️👍👍

  • @basil_b_vegan
    @basil_b_vegan 6 місяців тому +4

    if you are stuck fetching images from OpenAI API... this worked for me
    const aiResponse = await openai.images.generate({
    model: "dall-e-3",
    prompt,
    n: 1,
    size: '1024x1024',
    response_format: 'b64_json',
    });
    const image = aiResponse.data[0].b64_json

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

      i tried your by replacing it not fixed it again show me the failed to fetch the code

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

      thanks a lot

  • @gamingdott
    @gamingdott Рік тому

    such a nice work. you are truely doing a amazing job for students :)

  • @pglights7621
    @pglights7621 Рік тому

    Amazing man it's wonderful ❤

  • @abdessamadahmali3935
    @abdessamadahmali3935 Рік тому +1

    just another great Topic thanks a lot !

  • @yonatancohen5542
    @yonatancohen5542 Рік тому +1

    You're the best! Thank you! 🔥

  • @eduarddez4416
    @eduarddez4416 Рік тому

    This was very helpful for my own job at which I am working right now , your content is amazing!

  • @williamlawrence1044
    @williamlawrence1044 Рік тому

    This tutorial was amazing. I learnd alot. Thank you