Code your own dating bot with Spring Boot & React & AI
ฝัง
- เผยแพร่เมื่อ 9 ก.พ. 2025
- Download the project guide and all profiles: javabrains.io/...
Supplementary videos:
Setting up and running Ollama: • How to setup Ollama an...
Full profile creation walkthrough: Coming soon
🚀 Build Your Own AI-Powered Dating App: Full-Stack Tutorial with Spring Boot, React, and GPT-4! 🚀
Ever wondered how to integrate cutting-edge AI into a real-world Java and JavaScript app? Look no further! In this comprehensive tutorial, we'll build a Tinder-like application from scratch, powered by artificial intelligence.
🔥 What You'll Learn:
• Spring Boot backend development
• React frontend creation
• MongoDB database and Spring Data integration for storing application data
• GPT-4 implementation for AI-generated profiles and conversations
• Full-stack app architecture and best practices
Whether you're a seasoned developer looking to level up your AI skills or a beginner eager to dive into the world of AI-powered applications, this tutorial has something for everyone!
🔗 Resources:
• Download the project guide: javabrains.io/...
• GitHub repositories:
Backend: github.com/kou...
Frontend: github.com/kou...
👨💻 Want to take your development skills to the next level? Don't forget to like, subscribe, and hit the notification bell to stay updated on our latest tutorials!
Have questions or ideas for future videos? Drop them in the comments below!
#fullstack #springboot #react #ai #codingtutorial #javabrains
Become a member to access exclusive courses and content:
/ @java.brains
Hi Koushik, This course was amazing. Finally I was able to complete the entire project building using Spring Boot and REACT and it's working for me on my local and feels very happy to complete it. For me, it took more than a month end to end as I was working on it in the evenings after work for 20 mins and weekends I had to spend little bit more. On some days, I couldn't do it as I got busy with work, but feels very satisfied after completing this. As you suggested, dabble into project even if we don't know one specific technology. I didn't know REACT and so learnt it along the way and the way you taught it was really awesome. I was able to integrate it with both Open AI and Ollama as well for responses. I had many challenges along the way for syntax or code errors on my local but were able to fix it and proceed it but the course was really easy to follow along and code it. This was my first Code with me Series project even though I have been following you for a long time and a loyal paid subscriber for a long time :). You have been doing amazing work and this project idea is really exciting as well. Thanks again for this wonderful project and helping us learn new technologies and integrating with AI use case. Really appreciate it.
Hey Koushik. What an amazing project man.I can clearly see how much efforts you have put on building this tutorial. Appreciate it. I thoroughly enjoyed it. You will never fail to impress. Thank you.
App Demo 0:01
AI Disclaimer 7:13
Goals and Objectives 8:12
Prerequisites 13:24
Tools & Softwares Required 17:47
High level desing 21:57
API Design 32:40
Schema Design 43.17
Backed core 50:09
Hello AI 1:58:17
Frontend core 2:33:47
Generate Interaction with AI 4:43:30
It as really fun to watch this whole thing - great staff!! I have been following you and watching your spring related videos, really impressed. Thank you.
It took me 5 days to complete.
What a learning experience thank you... Sir👍👍
Sir can u please guide me please... It's showing some issues.. Please sir
I have an issue related to openai chatmodel...
Just finished coding with you! Great Experience! Thanks a lot for your efforts!
Thanks really helpful to refresh my springboot .. just started code with you .. happy gurupornima guru 😅
Thank you and have fun coding! You got this, my friend!
The only way I can get chick talking to me 😂😂😂.
Thank you Koushik 😊
Who said AI can't solve everything? 😜
@@Java.Brains 😄
00:01 Introduction
22:16 System Design
32:50 ApI Design
43:21 Mongo DB database Schema Design
50:11 Creating Spring Boot project
56:37 Running MongoDB using docker
01:03:33 create profile entity with spring data
01:17:24 Creating conversation model
01:25:12 Add create conversation API
01:39:28 Add messages to the conversation
01:58:23 Integrate with llm using spring ai
Thanks for the video. Finally I can play around with the combination of java and AI. Excited to explore this 💻💡
😊
Consider refactoring your code by introducing service layers instead of directly accessing the repository in your controllers. This practice aligns with Java and Spring best practices, promoting better separation of concerns and maintainability.
Oh common, you would have learned this principle from him, he doesn't need to implement everything on one demo project.
I have a question. Why do we need conversation Id? As we are designing app for single user then why can't we use profile id only in Conversation schema?
Hi Koushik, can please add a section that shows how to deploy this on AWS with any of the preferred AWS services with S3 buckets to hold the generated images! That can be a separate tutorial
is Tinder AI based on OpenAI? by the way, the generated photos are really impressive.
It was awesome, It would be great if you make few more projects using spring boot, react and AI
Hi Koushik, I don’t know why my comment doesn’t get sent or if TH-cam is removing it. My question is why do you use @Autowired to inject the repositories? Isn’t field injection not recommended?
Thanks for the content
I'm not sure why your previous comment got removed. I don't even see it in the held for review category. To answer your question, I usually use auto-wired because it's quicker when I'm coding for tutorial purposes and not writing test code. Ideally you should be using constructors for production code, especially when you are writing tests. I agree
Hi, can you let us know what architectural and design patterns you are using
Legit got more dating advice from this than anything else I could find lol.
But this has been awesome so far. I decided to challenge myself a bit by going at this with a relational database. I am having a blast with this so far!
Woukd be really nice to have time markers for each objective!
@@rtothec1234 be the change you want others to be the change you wanna see.
Hi Koushik, how are you getting your Project to compile and run at 2:18 when there is clearly an error with ProfileCreationService on your Intellij? Can you explain snakeyaml.nodes.Tag.STR on lines 145 to 148? Is this explained elsewhere?
Hi can you deploy it in Aws too, so that we can cover cloud too
Awesome content. I couldn't download the course guide from the website. Please can you take a look on what's wrong?
Thanks a lot.
I also had same error and I tried in different browsers and it worked and I got email and was able to download from there.
Alright
Thanks
I use another browser and it works perfectly. Thanks
Hey koushik, thanks for the content first, great and interesting material! im little lost at 2 hours 9min mark, is it possible that some frames were lost? i cant find where you implemented the stable diffusion and ollama things, thanks in advance!
You are welcome! At 2 hours 9 minutes, I'm using the OpenAiChatClient to make a sample call to OpenAI. You don't need Ollama for it yet.
I am uploading a separate video on how to setup Ollama and Stable diffusion.
This is going to be super interesting
Thanks! Do give it a go ☺️
Hi Java Brains, I want to be a member, I can't afford INR 799 per month.. Can you please rethink about this, may be create tiers or something.
Are you having any friend or even 1 just one earning member in your family?
If you want free courses, why not use freecodecamp or torrents?
I find it so embarrassing when Indians ask for free stuff..
You can work in swiggy for 1 month and earn 10 times this subscription..
Are you not ashamed asking for this in front of everyone? Using the goodwill of others in getting "free courses".
I offer free and discounted access to students and people with financial challenges. I have temporarily paused it because of some unfortunate spam I was getting. I plan to resume it so stay tuned!
Same here sir, if possible can you please reduce some cost
@@Java.Brainsyou are amazing man
Amazing video and got some girls to talk without cheating my wife 😂
Hi Koushik Sir, thanks a ton for making this video. A very small request, I am facing issues while using Ollama instead of OpenAI API key. Could you please make a video on how to use it.
PS: I have already seen the supplementary videos and gone through the docs still it is not clear .
Hello, Is your youtube membership similar to that of your website membership pass ? I mean if I take membership on youtube will I get access to all the materials which is available on your website ?
Hi Koushik, great content. But, I am unable to download the project content. I get the message "Sorry, something went wrong. Please try again." after clicking on "Get Free Download" button.
Awesome vedio sir, Could u please make more vedious about Spring AI
Thank you for this new series ( and all in the past) . I see "Sorry, something went wrong. Please try again." message when I click on "Get Free Download" button. Can you plz check?
Hey Chirag, thanks for letting me know! I wonder if it's a temporary problem. I just tried it and didn't get the error. Can you please try again and let me know either way?
@@Java.Brains Thanks , tried on other browser and worked. Looking forward to learn. Although still not working on my chrome ( even after disabling all extensions ) it maybe specific to my specific machine thing.
Big fan of you sir! Want to meet once in my lifetime.
Thank you! Maybe some day 😊
Great video thank you so much
You are so welcome! Hope you enjoy building this
Is the CHATGPT API key free?
Can anyone please tell me why we use record to create a model like chatmessage and profile instead of class ?
My Java guru and God of Java. You are simply awesome. Thanks Koushik Guruji
Hi, how can we access to the supplementary videos?
I have one already - on setting up Ollama: th-cam.com/video/GP_ugyTJIrg/w-d-xo.html
I'm uploading the profile creation part in 2 days, so stay tuned!
@@Java.Brains okay thanks
I understand what you teach but i cant buy your courses it shows price in dollar only
2:07:25 This dependency is not required for ollama API calls
Awesome video, awesome content
Thanks so much!
Great👍🎉🎉🎉
Thanks 🤗
completed. it took me 2 days
Kudos! 👏 Well done my friend! I'd love to talk to you about your overall experience and learnings. Please let me know if you'd like to hop on a call with me sometime.
@@Java.Brains off course yes 🙂
Thank you! Please write to me at javabrainsmain at gmail dot com and we can schedule a call at a time when we are both available.
Hi, May I ask that did you clone his repo? or just started from strach then followed along the video?
@@zhihangcheng1083I coded alongside and noticed some updates in the OpenAiChatModel.
Is anyone getting this error: "You exceeded your current quota, please check your plan and billing details."? Did you add a payment method? I don't wanna be charged for using OpenAI
Yes, I had to add my credit card and once I did that, the error went away and got results from open AI.
@@GMSArnolds...Enjoy the bill.
how did you open document in intelliJ at around 2:00:00
Intellij give you option download source
Absolute Legend!🖖
2:53:31
5 hours 😮
5 and a half! My longest video yet! 😅
Interesting
Amazing
woww great
I don't think anyone starting out, and not adopting an existing code base, should use Java and React. There are far better options available.
But thats the stack in the real world. Especially enterprise in the US
C
Ai least i would have some fake women to talk 🤣🤣
im getting {
"timestamp": "2025-01-11T12:09:22.428Z",
"status": 400,
"error": "Bad Request",
"path": "/conversations"
} in my post man how to solve it