Great video! what front-end(JS) framework do you think is easier to learn first? React,Angular,vue? i used jquery(ajax), people said that Angular is easier for java developers to learn... Cheers!
Thanks. React is easier to start with. Angular is not easier for java developer to learn but since both java and angular are used in enterprise level so angular is used by Java developers.
Guys we use React because when we change some component then we dont need to refresh page . So if you put [students] parameter which is the end of the useEffect() function , you will see when you add a student and click the submit button, students list automatically refresh without all page refresh. (sorry for bad english :))
@@justmonika6529 when you put [student] in the end of the useEffect(), here you say to useEffect() to execute the block of code that it contains, whenever the student array changes... Read more about useEffetc Dependencies.
you should use lombok in model class to reduce boiler plate code for getters and setters,toString(),hashcode,default constructor and parameterized constructor
Hey I really appreaciated the fact, that there was an error with the missing @Service parameter in the StudentServiceImplementation. So you explained what was wrong and didnt cut it out or something. Its good to see mistakes being made and how one resolves them. Dont always show perfect code examples. --> My opinion
Even though very basic, Its the perfect intro for amateurish coders, dint know much Spring or React but had some knowledge of Java, Java Script, so this was so nice!
CrossOrigin is not a fix nor a workaround. it might cause you problems in terms of security. i'd not use it. just serve static web files in spring boot project. or use middleware in react project
Thank for this great toturial🙌 i like to add one thing just add students in [] braceses of useEffect so you dont have to refresh to show submited data const [students, setStudents] = useState([]) useEffect(() => { },[students])
I was having the error "java.sql.SQLException: Access denied for user Victor@localhost (using password: NO)" in the 12:24 of the video trying to run the application. I fixed it by creating an user with this name in the admin panel
By far I have completed the backend part, so I just have to say THANKS for your explanation, is so brief that's is pretty enough to understand. Let's see how the frontend with React goes. For future content would be nice a tutorial about how to implement Native Query and also Criteria Query.
I've looked from youtube to udemy for a good Spring Boot and React tutorial for begineer and this is the best video there is. Simple yet so informative. Lots of thanks to this channel
Why did you refresh the app in the end to show Ram-India? You should show it when you submit it. Isn’t it better to get all the results as a response when we save a new entry?
The problem with this tutorial is that first you say to install MySQLDatabase but don't specify with XAMPP so one installs MySQLDatabase that occupy the port 3306, than he has o install XAMPP, and the port 3306 is occupied.
First Id like to say thank you for posting this it was very helpful. I do have one question though, when i do my post through postman the connection is successful but not all of the data I entered is being inserted into the table. Do you know why this could be happening?
This was a great video. However, I did want to ask, is there a way to see the student that you add immediately in the Students section at the bottom? Refreshing the page seems like a hassle each time
Can you pls let me know what are the combination of techstacks are adapted by most enterprises(Java with Angular or Java with React), bcoz am preparing for Java with react
thanks Arjun did you ever code something similar in non Java language or frameworks ? if so what did you use and how did you find it compared to Springboot and java ?
It is considered good practice to define the methods that will be in the service using an interface. In case of future changes. Technically it is insignificant.
@@CodeWithArjun Dada i will see that Video series. My humble request to you if possible give us live a project about e-commerce web app by Spring boot and reactjs.
How would you deploy this to be fully functional? As in, for it to be online and ready to serve. From what I understand, you're running a local copy with this.
@@CodeWithArjun hello can you please explain the deployment process, i have created a ML project with react js frontend and fast api as backend but not able to deploy on heroku...
My next video will be on that how to deploy Spring boot app and react app on Heroku. If you want to deploy using netlify for just react app i have got one video you can check on my channel.
Hi, when I try to download the material ui icons it gives me a special error that I cannot understand it npm ERR! code ERESOLVE npm ERR! ERESOLVE unable to resolve dependency tree npm ERR! npm ERR! While resolving: jobspotfrontend@0.1.0 npm ERR! Found: react@18.2.0 npm ERR! node_modules/react npm ERR! react@"^18.2.0" from the root project npm ERR! npm ERR! Could not resolve dependency: npm ERR! peer react@"^16.8.0 || ^17.0.0" from @material-ui/core@4.12.4 npm ERR! node_modules/@material-ui/core npm ERR! peer @material-ui/core@"^4.0.0" from @material-ui/icons@4.11.3 npm ERR! node_modules/@material-ui/icons npm ERR! @material-ui/icons@"*" from the root project
@@josephmctigue4494 I think I figured this out as it's working fine for me now. It was because of the peer dependency between react and Material UI. Since we have react 18.2 version we have to use Material UI V5 version which is the latest one. We can do the installation part according to the steps in MUI V5 official site. So in this video Arjun is using Material UI V4 which is only compatible with React 16.8 or 17.0. I hope this is clear for you.
What a great tutorial. Just one question. I'm getting empty Id when I call getAll. Name and Address is displayed, but Id not. In DB all Id's are visible. Any ideas?