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

  Рет қаралды 498,186

JavaScript Mastery

JavaScript Mastery

Күн бұрын

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 KZbin 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 500
@javascriptmastery
@javascriptmastery Жыл бұрын
Want to land your dream programming job in 3 - 6 months? ⭐ JSM Masterclass Experience - jsmastery.pro/masterclass Become a Software Engineer. Guaranteed.
@timecapsule9338
@timecapsule9338 Жыл бұрын
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 10 ай бұрын
@@timecapsule9338 Gym Supplement?
@sanmaster5211
@sanmaster5211 6 ай бұрын
@@timecapsule9338 creating your own AI might work, hahaha jk
@user-zt3zb4cf4j
@user-zt3zb4cf4j 4 ай бұрын
Cost of the course?
@Cryptoheady
@Cryptoheady 4 ай бұрын
For this there is a soln mern section in discord github rep is also there
@queenofsheba8275
@queenofsheba8275 Жыл бұрын
I've been searching for a tutorial like this on KZbin 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.
@javasmastery__my_Teleqram_id
@javasmastery__my_Teleqram_id Жыл бұрын
Teleqram me 👆⬆️
@AhmedSiddiqui-dz3up
@AhmedSiddiqui-dz3up Жыл бұрын
I cannot believe such a comprehensive guide can exist for free in KZbin. 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.
@javasmastery__my_Teleqram_id
@javasmastery__my_Teleqram_id Жыл бұрын
Teleqram me 👆⬆️...
@sahibalaskar1192
@sahibalaskar1192 Жыл бұрын
I need ur help
@tiktalk4573
@tiktalk4573 11 ай бұрын
@@sahibalaskar1192 what is it?
@charlesxstorm
@charlesxstorm Жыл бұрын
At this point, the world definitely owes you so much. Thank you for the crazy amount of time you spend in creating your tutorials.
@patrykorowski4141
@patrykorowski4141 Жыл бұрын
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 KZbin 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!
@javasmastery__my_Teleqram_id
@javasmastery__my_Teleqram_id Жыл бұрын
Teleqram me 👆⬆️
@AlonnaWade
@AlonnaWade Жыл бұрын
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!
@usomine_af
@usomine_af Жыл бұрын
For help Teleqram me 👆
@simonbelissa7809
@simonbelissa7809 Жыл бұрын
Thank you so much Adrian for your amazing work. I've been wanting to build mine and couldn't get it done !
@javascriptmastery
@javascriptmastery Жыл бұрын
You can do it!
@Junyoung_Kang
@Junyoung_Kang Жыл бұрын
This guy knows exactly what is UP! Thank you so much for keeping us with the most updated knowledge.
@javascriptmastery
@javascriptmastery Жыл бұрын
I appreciate that!
@personalfile3873
@personalfile3873 8 ай бұрын
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 8 ай бұрын
thank you
@akshayKumar-kx9mm
@akshayKumar-kx9mm 8 ай бұрын
then what is the alternative to work?
@pratikneupane951
@pratikneupane951 8 ай бұрын
ohhh noooooo! what should I do nooww?🤦‍♂🤦‍♂
@AabidKhan-bv7qk
@AabidKhan-bv7qk 8 ай бұрын
same man !!!! stuck at Billing hard limit has been reached
@samuelnoel4186
@samuelnoel4186 8 ай бұрын
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
@soltiscd
@soltiscd Жыл бұрын
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.
@javascriptmastery
@javascriptmastery Жыл бұрын
Glad you enjoyed it!
@nguhelon7015
@nguhelon7015 Жыл бұрын
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
@javascriptmastery
@javascriptmastery Жыл бұрын
You are very welcome
@wilsonmela6343
@wilsonmela6343 Жыл бұрын
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.
@javascriptmastery
@javascriptmastery Жыл бұрын
Thank you so much!
@derekprieur5258
@derekprieur5258 Жыл бұрын
Phenomenal video JSM! Clean minimal design, Node/Express/Mongo/API practice & relevant AI work. This one truly is a complete package, thank you team 👍
@javascriptmastery
@javascriptmastery Жыл бұрын
Much appreciated Derek!
@cr_spirit3986
@cr_spirit3986 Жыл бұрын
Seems like he's the only one who could get me to understand react. What a great tutor
@AdityaTiwari-vu3je
@AdityaTiwari-vu3je Жыл бұрын
We love you Javascript Mastery. I learned so much from you guys and I finally learned how to use AI Api's.
@javascriptmastery
@javascriptmastery Жыл бұрын
Great to hear!
@mazharansari7813
@mazharansari7813 Жыл бұрын
Wow few days back just finished learning MERN and now you uploaded this video feeling excited 😄😄
@javascriptmastery
@javascriptmastery Жыл бұрын
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..
@geev1044
@geev1044 Жыл бұрын
Amazing Ive been waiting for a MERN stack course ,Thank You!
@javascriptmastery
@javascriptmastery Жыл бұрын
Enjoy!
@RajeevCanDev
@RajeevCanDev Жыл бұрын
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.
@itsmerakesh_official
@itsmerakesh_official Жыл бұрын
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😊
@javascriptmastery
@javascriptmastery Жыл бұрын
Awesome, thank you!
@lazeezbiryanii
@lazeezbiryanii Жыл бұрын
I was following your react ui ux course and now I'll do this too please create more mern projects 😋
@javascriptmastery
@javascriptmastery Жыл бұрын
Will do!
@mateusleal1254
@mateusleal1254 Жыл бұрын
I'm Brazilian and here we don't have content like yours.... simply amazing....
@edwintjoa6099
@edwintjoa6099 Жыл бұрын
Thank you so much for another awesome video on Full Stack MERN. The deploy section really helps to make things go live.
@javasmastery__my_Teleqram_id
@javasmastery__my_Teleqram_id Жыл бұрын
Teleqram me 👆⬆️.
@icongrindsetsfj
@icongrindsetsfj Жыл бұрын
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 Жыл бұрын
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 11 ай бұрын
Thanks Buddy. You Saved me.
@venilsavaliya3004
@venilsavaliya3004 11 ай бұрын
@@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 11 ай бұрын
@@venilsavaliya3004 yes 3 img/5 min
@johnkabiu4418
@johnkabiu4418 Жыл бұрын
Love your classroom.. to the moon to Jupiter to ends of galaxies.. you are a true blessing to the Developer community
@hamzaawan.developer
@hamzaawan.developer Жыл бұрын
You are amazing, I looking for MERN projects this week. Thank you JSM.
@javascriptmastery
@javascriptmastery Жыл бұрын
Glad you like them!
@luiscrespol8640
@luiscrespol8640 11 ай бұрын
This tutorial was absolutely amazing!! The details, tips, techniques, and planning were definitely shown and explained!
@naveenbisht5543
@naveenbisht5543 6 ай бұрын
Is everything used in this tutorial is free or do I have to pay for something
@mindbodyps
@mindbodyps Жыл бұрын
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.
@javascriptmastery
@javascriptmastery Жыл бұрын
Thank you so much!
@imreboloni2921
@imreboloni2921 Жыл бұрын
A great content a lot to learn from this. Great job Adrian keep it up like this!! 👍
@wisdombassey2804
@wisdombassey2804 Жыл бұрын
We love you Javascript Mastery. 😍 You're a blessing to the Javascript Dev Community 🙌🙌🙌
@javascriptmastery
@javascriptmastery Жыл бұрын
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
@Zephyr314
@Zephyr314 Жыл бұрын
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 Жыл бұрын
@@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 6 ай бұрын
Is everything used in this tutorial is free or do I have to pay for something
@jhonatanoliveira4183
@jhonatanoliveira4183 Жыл бұрын
Awesome!!! Thanks for show us what no ones would to show for free! You're the real JS Master.
@javascriptmastery
@javascriptmastery Жыл бұрын
Thank you!
@imoh5202
@imoh5202 Жыл бұрын
Thank you my new found mentor. Your tutorials are timely and very helpful. I also like the fact that you use Visual Studio code.
@javascriptmastery
@javascriptmastery Жыл бұрын
You're very welcome!
@richardmasters2045
@richardmasters2045 Жыл бұрын
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 🙏
@javascriptmastery
@javascriptmastery Жыл бұрын
You got this!
@mrdiin.dev_
@mrdiin.dev_ Жыл бұрын
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 Жыл бұрын
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.
@user-yf8hr1fe5u
@user-yf8hr1fe5u Жыл бұрын
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.
@ahmedmusawir
@ahmedmusawir Жыл бұрын
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 ...
@javasmastery__my_Teleqram_id
@javasmastery__my_Teleqram_id Жыл бұрын
Teleqram me 👆⬆️...
@jessy_clip
@jessy_clip Жыл бұрын
Dude i finished my project but i get error on deployment, can you pls help with it 🙏
@aryanshah3967
@aryanshah3967 11 ай бұрын
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 11 ай бұрын
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
@eg7613
@eg7613 Жыл бұрын
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
@usomine_af
@usomine_af Жыл бұрын
For help Teleqram me 👆
@DharmikNavadiya
@DharmikNavadiya Жыл бұрын
Was waiting for this masterpiece , BRAVO 🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥
@javascriptmastery
@javascriptmastery Жыл бұрын
It's here!!! :)
@muhammadalbendakji7690
@muhammadalbendakji7690 Жыл бұрын
Having notification from JavaScript Mastery ---> it's coding TIME 😍😍
@PavelSergienko
@PavelSergienko Жыл бұрын
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
@PetriikVx
@PetriikVx Жыл бұрын
Amazing project, made my day, learned a lot and got hostinger! God bless you bro.
@javascriptmastery
@javascriptmastery Жыл бұрын
Enjoy!
@juancarlosrodriguez1085
@juancarlosrodriguez1085 26 күн бұрын
Another amazing project!!!... as always. Thanks Adrian for all you give us!!!...
@afrancis7475
@afrancis7475 Жыл бұрын
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
@javascriptmastery
@javascriptmastery Жыл бұрын
Thankfully the younger generations now have it! :)
@k1ngydoteth403
@k1ngydoteth403 Жыл бұрын
same bro lol
@Liebendan
@Liebendan Жыл бұрын
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 Жыл бұрын
Great suggestion!
@adelekeadekunle8365
@adelekeadekunle8365 Жыл бұрын
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..
@pedroparadaavendano491
@pedroparadaavendano491 Жыл бұрын
This guy is the best teacher I have ever ran into. I am learning so much with him!!
@abdelilahaassou6333
@abdelilahaassou6333 4 ай бұрын
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 😉
@salonisingh3167
@salonisingh3167 6 ай бұрын
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 4 ай бұрын
it's same error he return this message (Billing hard limit has been reached)
@samarjeetdangi4297
@samarjeetdangi4297 3 ай бұрын
Thank You 👍🏻👍🏻
@aayushraj4733
@aayushraj4733 2 ай бұрын
not worked sane error
@WEST--
@WEST-- Жыл бұрын
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 🥲
@WEST--
@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 Жыл бұрын
@@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 😮‍💨
@WEST--
@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 Жыл бұрын
@@WEST-- at 1:26:40 it shows alert "SyntaxError: Unexpected token 'I', "Incorrect "... is not valid JSON" can you please help?
@ayushpanday3701
@ayushpanday3701 Жыл бұрын
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 Жыл бұрын
same here . Have you resolved it? Please reply
@umar3167
@umar3167 11 ай бұрын
@@36-mariajoseph35 Same here, Have you resolved it ?? Let me know...
@vatsalsrivastava7135
@vatsalsrivastava7135 10 ай бұрын
Same here have you resolved it ??
@harsh.jain22
@harsh.jain22 9 ай бұрын
yes, I am also stuck here from hours error : ( TypeError : Failed to fetch ), if you have resolved this error please tell me
@naganathan5312
@naganathan5312 Жыл бұрын
😍👏Wow amazing JM, do more Mern-related videos like this
@javascriptmastery
@javascriptmastery Жыл бұрын
Thank you! Will do!
@mrgkd5767
@mrgkd5767 Жыл бұрын
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!
@javascriptmastery
@javascriptmastery Жыл бұрын
My pleasure!
@anazi
@anazi Жыл бұрын
My god ! What a presentation. What a code ! What a performance! What a project. You have raised the bar far far for content creation.
@javascriptmastery
@javascriptmastery Жыл бұрын
Thanks a ton
@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!!
@usomine_af
@usomine_af Жыл бұрын
For help Teleqram me 👆
@meheraabarvy4134
@meheraabarvy4134 Жыл бұрын
Unbelievable service we are getting from you for free! Every time it amazed me how can you do it! Congratulations for 500K subs.
@javascriptmastery
@javascriptmastery Жыл бұрын
Thank you so much 😀
@strahinja2977
@strahinja2977 Жыл бұрын
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 Жыл бұрын
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;
@griffinkirkland9087
@griffinkirkland9087 Жыл бұрын
I have to include JSM whenever i'm doing my gratitude session! Grateful for your existence👏
@javascriptmastery
@javascriptmastery Жыл бұрын
You rock!
@akshitajha1209
@akshitajha1209 Жыл бұрын
We want more mern projects, addicted to your channel!!
@usomine_af
@usomine_af Жыл бұрын
For help Teleqram me 👆
@akshitgupta4749
@akshitgupta4749 Жыл бұрын
Don't do this project although it is very well explained but OPEN AI no longer supports free API access :(
@adityaagarwal2324
@adityaagarwal2324 Жыл бұрын
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 Жыл бұрын
Yea lol just wasted my time again......
@aditya6431
@aditya6431 11 ай бұрын
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 11 ай бұрын
Its still free yk, my project works just fibe
@lequangnghi194
@lequangnghi194 Жыл бұрын
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 Жыл бұрын
I hame the same issue... Did you solve this problem?
@jeremyharvard6057
@jeremyharvard6057 Жыл бұрын
Best video man. I finally completed creating this web-app. Now I'm all set to begin my own AI image generator. My friends are also very impressed by this video. We could not find any video on this image topic internet which actually describes everything from scratch. My react skills also got honed with this tutorial. Tremendous man. I'm so grateful to you. 🙏🙏🙏
@Flower-ho2kp
@Flower-ho2kp Жыл бұрын
Can you please share link of your github repo? Im creating this project too but cant solve some problems
@jeremyharvard6057
@jeremyharvard6057 Жыл бұрын
@@Flower-ho2kp man! I don't use GitHub! Neither I store my files there! I store everything in pendrive! So I have got nothing to share!
@jessy_clip
@jessy_clip Жыл бұрын
​@@Flower-ho2kp Dude i finished my project but i get error on deployment, can you pls help with it 🙏
@Flower-ho2kp
@Flower-ho2kp Жыл бұрын
@@jessy_clip i used firebase hosting for client side deployment and render for backend
@jessy_clip
@jessy_clip Жыл бұрын
@@Flower-ho2kp good i got erroe in render while deploying it says "The engine "node" is incompatible with this module. Expected version ">=14.20.1". Got "14.17.0"
@user-ny9uu8mv5i
@user-ny9uu8mv5i Жыл бұрын
Great video, got it up and running after a little bit of debugging around the api keys. Thanks!
@piyushnarwal9311
@piyushnarwal9311 Жыл бұрын
Bro have you completed this project?
@user-ny9uu8mv5i
@user-ny9uu8mv5i Жыл бұрын
@@piyushnarwal9311 yep.
@xurshidbekabdulakimov3948
@xurshidbekabdulakimov3948 Жыл бұрын
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
@xurshidbekabdulakimov3948
@xurshidbekabdulakimov3948 Жыл бұрын
@@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 Жыл бұрын
Stuck in the same place 🥺
@laharikrishnam9684
@laharikrishnam9684 Жыл бұрын
did you find the solution for this error? I am stuck here too
@xurshidbekabdulakimov3948
@xurshidbekabdulakimov3948 Жыл бұрын
@@laharikrishnam9684 No, I didn't 😔
@mayankkashyap79
@mayankkashyap79 Жыл бұрын
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. ❤️❤️❤️❤️👍👍
@javascriptmastery
@javascriptmastery Жыл бұрын
Thank you!
@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.
@javasmastery__my_Teleqram_id
@javasmastery__my_Teleqram_id Жыл бұрын
Teleqram me 👆⬆️...
@revanthm2982
@revanthm2982 6 ай бұрын
Failed to fetch error when I click generate
@mrmohitk4117
@mrmohitk4117 6 ай бұрын
Same error brother
@aadi5674
@aadi5674 11 ай бұрын
Paid API
@YogeshSingh-dw6lx
@YogeshSingh-dw6lx 11 ай бұрын
bro any good project link that i can make one many are like this only no explanation, outdated and all
@siddiqahmed3274
@siddiqahmed3274 11 ай бұрын
@@YogeshSingh-dw6lx how can it be outdated if the api just got paid?? It is fairly new and yiu should not expect any video tutorial to spoon feed you
@eduarddez4416
@eduarddez4416 10 ай бұрын
This was very helpful for my own job at which I am working right now , your content is amazing!
@adityaswarup941
@adityaswarup941 10 ай бұрын
Is it working??
@adityaswarup941
@adityaswarup941 10 ай бұрын
For free?
@johnsonogbu8697
@johnsonogbu8697 Жыл бұрын
Can't ask for anything more. This is epic.
@zey-
@zey- Жыл бұрын
thank you brother these videos are really professional and help a lot, absolutely love these!
@quanticdev1071
@quanticdev1071 Жыл бұрын
Your presentation skills are phenomenal. What tool do you use for your slide presentation? It's incredibly sleek. I appreciate your videos and bought your course!
@vagdrak6575
@vagdrak6575 Жыл бұрын
What an amazing app! really love your videos! I think the only thing missing is a paid subscription react app
@hamoodhabibi7026
@hamoodhabibi7026 Жыл бұрын
YES THIS IS the tech stack i've been waiting for
@yuyuyuyuyuy484
@yuyuyuyuyuy484 Жыл бұрын
hamood
@javascriptmastery
@javascriptmastery Жыл бұрын
Awesome!
@Cuzinz
@Cuzinz Жыл бұрын
thank you so much i learned alot from this video, i finished the whole project and posted it on my github !
@hoangthiendo1909
@hoangthiendo1909 Жыл бұрын
Another great tutorial 💪💪 Thanks Adrian
@javascriptmastery
@javascriptmastery Жыл бұрын
Appreciate it!
@indiancuriousvoice8773
@indiancuriousvoice8773 Жыл бұрын
**This is realy a great mern project . I have coded every line by seeing your videos and understand your logics. There are so many bugs come, also fixed that and finally deployed the backend in "Railway" And frontend in "netlify". It takes 3 days . Thanks adrian, you are genius**
@Flower-ho2kp
@Flower-ho2kp Жыл бұрын
Can you please share link of your github repo? Im also creating this project but can solve some problems
@shineLouisShine
@shineLouisShine Жыл бұрын
May you kindly share of your bugs and fixing for the benefit of others, or share your github? That will be very appreciated
@jessy_clip
@jessy_clip Жыл бұрын
Dude i finished my project but i get error on deployment, can you pls help with it 🙏
@AbhijeetDhane
@AbhijeetDhane Жыл бұрын
​@@jessy_clip Hey dude i am getting error as it is not fetching the image from api it is giving some this error TypeError: JSON.stringfy is not a function I have completed watching and following the video until the timestamp 1:25:54 Can you help ??
@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..
@andriyabu
@andriyabu Жыл бұрын
Thank you man. As usual, awesome content.
@javascriptmastery
@javascriptmastery Жыл бұрын
Glad you enjoyed it!
@armansotude1474
@armansotude1474 Жыл бұрын
Again with another mind blowing project ❤
@javascriptmastery
@javascriptmastery Жыл бұрын
Thank you!
@amadeosph2045
@amadeosph2045 Жыл бұрын
I'm from Brazil and your content is very impressive. I learn a lot in a short time. Thanks a lot 😁❤
@javasmastery__my_Teleqram_id
@javasmastery__my_Teleqram_id Жыл бұрын
Teleqram me 👆⬆️...
@kietdang8534
@kietdang8534 Жыл бұрын
Thank you so much JavaScript Mastery.. Love your content
@codewithguillaume
@codewithguillaume Жыл бұрын
Thank you so much for this course !
@javascriptmastery
@javascriptmastery Жыл бұрын
You're very welcome!
@zolac9732
@zolac9732 Жыл бұрын
Adrain You are the GOAT when it comes to JavaScript. Thanks alot.
@javascriptmastery
@javascriptmastery Жыл бұрын
I appreciate that!
@gamingdott
@gamingdott Жыл бұрын
such a nice work. you are truely doing a amazing job for students :)
@faroukayomide5214
@faroukayomide5214 Жыл бұрын
This is another excellent project video Thank you so much 🙂
@javascriptmastery
@javascriptmastery Жыл бұрын
Our pleasure!
@prospernglazi7444
@prospernglazi7444 Жыл бұрын
The man, the legend strikes again!!
@javascriptmastery
@javascriptmastery Жыл бұрын
Thank you!
@faizanakhtar9086
@faizanakhtar9086 Жыл бұрын
Thank you for creating such a nice project
@eliecersmora5931
@eliecersmora5931 Жыл бұрын
great, great, great. please keep posting this such an amazing tutorials using React and of course Tailwind !!! thank you crack. It also served to practice node that I had time without doing it. what theme en VS vode did you use ??
@Toprinking
@Toprinking Жыл бұрын
it's fantastic , good work JSM
@javascriptmastery
@javascriptmastery Жыл бұрын
Thank you so much 😀
@Nanda-hg6pp
@Nanda-hg6pp Жыл бұрын
You deserve more than 20k likes. ThankYou for this amazing video. Hope we will get another AI based project video.🥰
@javascriptmastery
@javascriptmastery Жыл бұрын
Thank you so much 😀
@malikm3dia504
@malikm3dia504 Жыл бұрын
Very humble educated and most of all good hearted person ❤
@javasmastery__my_Teleqram_id
@javasmastery__my_Teleqram_id Жыл бұрын
Teleqram me 👆⬆️...
@SA-fy8th
@SA-fy8th Жыл бұрын
Ah your skill is on whole another level keep it up!
@javascriptmastery
@javascriptmastery Жыл бұрын
Appreciate it!
@shoaibkhaneknumberhahaha
@shoaibkhaneknumberhahaha Жыл бұрын
That's why he's the GOAT. Thanks again! Weekend is sorted for me ❤❤
@javascriptmastery
@javascriptmastery Жыл бұрын
Amazing, thank you!! :)
@williamlawrence1044
@williamlawrence1044 Жыл бұрын
This tutorial was amazing. I learnd alot. Thank you
@javasmastery__my_Teleqram_id
@javasmastery__my_Teleqram_id Жыл бұрын
Teleqram me 👆⬆️...
@renatoknot
@renatoknot Жыл бұрын
Love this channel... Keep going my friend 💪
@javascriptmastery
@javascriptmastery Жыл бұрын
Thank you 🙌
@lisandraanacampslabanino8040
@lisandraanacampslabanino8040 Жыл бұрын
Amazing video tutorial, Thank you JSM
@javascriptmastery
@javascriptmastery Жыл бұрын
Thank you
@renzoosoriovaldez3378
@renzoosoriovaldez3378 Жыл бұрын
Thank you very much for sharing your knowledge, all your videos are great, I hope to be able to acquire one of your courses in the future. Greetings from Peru
@usomine_af
@usomine_af Жыл бұрын
For help Teleqram me 👆.
@theotheluo6546
@theotheluo6546 Жыл бұрын
You guys better make this video reach 20k likes, we need more of this knowledge.
@javascriptmastery
@javascriptmastery Жыл бұрын
Yess! :)
@kevinkisibo4878
@kevinkisibo4878 Жыл бұрын
I haven't watched yet but I never doubt your content always on top
@javascriptmastery
@javascriptmastery Жыл бұрын
Thank you!
@dragonkloop6731
@dragonkloop6731 Жыл бұрын
bro i don't know what the hell are you your consistency is like crazy always putting amazing content keep it up bro
@javascriptmastery
@javascriptmastery Жыл бұрын
Glad you enjoy it!
@khizrshaikh9902
@khizrshaikh9902 Жыл бұрын
Thanks for this Sir Adrian
@javascriptmastery
@javascriptmastery Жыл бұрын
Thank you!
Turning Your AI Application into a Profitable SaaS Business
1:15:27
JavaScript Mastery
Рет қаралды 289 М.
Build and Deploy a Full Stack Video Conferencing App with Next JS
4:19:19
JavaScript Mastery
Рет қаралды 148 М.
Kitten has a slime in her diaper?! 🙀 #cat #kitten #cute
00:28
格斗裁判暴力执法!#fighting #shorts
00:15
武林之巅
Рет қаралды 37 МЛН
О, сосисочки! (Или корейская уличная еда?)
00:32
Кушать Хочу
Рет қаралды 4,9 МЛН
3 AI Micro SaaS Ideas You Can Launch In 2024 as a Solo Founder
8:14
Vitaliy Podoba | SoftFormance
Рет қаралды 20 М.
Chat GPT 4o Demo Video | #promotion  #awareness
16:14
One More Angle
Рет қаралды 1,8 М.
lofi hip hop radio 📚 - beats to relax/study to
Lofi Girl
Рет қаралды 14 М.
the new PS4 jailbreak is sort of hilarious
12:21
Low Level Learning
Рет қаралды 31 М.
How good is the latest version of ChatGPT? | BBC News
23:16
BBC News
Рет қаралды 84 М.
Beginner Three.js & GSAP Tutorial | Build and Deploy an Apple Website using React
3:51:37