r/SpringBoot • u/Glass-Fix-4624 • Feb 13 '24
Where can I find tutorials for "complex" and advanced springboot projects?
Hi forks, springboot/java begineer here. I was wondering if you could kindly help me find out some online video tutorials/courses about creating complext and advanced springboot projects.
I'm able to create single entity CRUD app, create rest endpoints and query methods for it, use Postman to test my endpoints, and connect my app to MySQL.
And I'm also learning how to add spring security, spring jwt, use hibernate to create mappings, add more entities to my app.
I was feeling good, until I saw some github projects by some students/interns. They're soooooo complex, with 10 20 entities, infinite number of classes, and lots of features that I've never used, like authorization and transaction management.
Here are three such projects:
https://github.com/zeynepsl/CarShowroomProject
https://github.com/Yuksel-Can/Rent-A-Car-Project
https://github.com/wkrzywiec/Library-Spring
Ofc, I do realize they're still intern/student-level projects, at best junior level. So they're really not that advanced or what. But for me who has just started learning about spring security and entity mapping; and who has never seen anything related to transaction or anything more than 4-5 entities, they're advanced for me.
The problem is, the most complex courses/tutorials that I've found have 4-5 entities, little transaction, and way less number of classes/packages compared with these ones.
So could you kindly tell me, usually how do students/interns create such complex projects? How can I achieve the same level? I don't think seniors have the time to guide them through everything.
Thanks for your reading and time! Any suggestion will be highly appreciated!
6
Feb 13 '24
Without hating on nobody's work but those projects are pretty bad and outdated. I would not use them as a reference for my projects.
The problem is, the most complex courses/tutorials that I've found have 4-5 entities, little transaction, and way less number of classes/packages compared with these ones.
Welcome to online courses world! You get a little understanding of how those things work but you gotta start writing code for yourself and develop a project doing your own research.
I try to avoid online courses as much as I can, official docs are the way to go for almost everything (spring, hibernate, etc.).
1
u/Glass-Fix-4624 Feb 13 '24 edited Feb 13 '24
Without hating on nobody's work but those projects are pretty bad and outdated
What? Ahaha π how??? I actually went to look at their LinkedIn profiles. Not to spy on their lives, but I got quite shocked by the complexity of their projects and so wanted to see who they were. They were interns or juniors in good companies and now have landed decent jobs in decent companies. Two of them were Cs students. I actually aimed at reaching their level in 5 6 months, when I've finished my first internship
π and here you said to me that they're bad. I'm sorry, I'm shocked. Are industry's standards so high? I just want to get into the field (java spring), not trying to do anything crazy
Would you care to explain? Or are there any good projects that I can take as reference/goal?
Thanks β€οΈ
3
Feb 13 '24
First of all, they're bad to me and I'm just a dev with 2 years of experience. I'm also very focused on code quality and it's not about industry's standars but mine.
I don't have examples of good projects but I do have an advice: do your own reseach, go on google and search of "best way to do x" and be specific. When I first starterd developing my first Spring project I used to refactor weekly due to finding new and better ways to write code cleaner, simpler and more efficient.
Also, learn how Spring works behind the scenes, don't abuse annotation, do proper exception handling and validation. Do some testing.
2
u/Glass-Fix-4624 Feb 13 '24
Yeah I see thanks for the suggestion
I'll analyze these projects and then improve on them
But why downvote me bro π
Anyway really thanks for the help
1
u/Glass-Fix-4624 Feb 13 '24
Also could pls confirm to me that this stack is not outdated? Based in Europe/Italy. I see lots of ads asking for this stack (spring hibernate SQL java stuff)..
3
0
u/Glass-Fix-4624 Feb 13 '24
Oh my gosh you even said outdated?? How, I'm sorry. Don't people usually use spring + hibernate + SQL? I thought it was the most popular backend stack..
11
u/WaferIndependent7601 Feb 13 '24
Most important thing you have to learn: Write tests Unit and integration tests. If you know how to do it: do tdd and bdd
Seniors have to teach juniors. Itβs their job.
2
u/Glass-Fix-4624 Feb 13 '24
Hi. Didn't expect testing to come up here honestly. So you would say that testing is actually more important than jwt security transaction all those stuff? And it would make my CV stand out?
Because I'm still a student, my school will look for internship positions for me in one month, and my current plan is to create as many projects as possible. I'm also learning git, but that's it..
Anyway, thanks really for the response
4
u/WaferIndependent7601 Feb 13 '24
It really depends. On a professional basis: tests are more important than the code. I donβt care if you know anything lot about authentication (every project is different) but if you know how tests work and how important they are: big big plus.
Of course there are start ups that donβt care. These want quick solutions.
2
u/Glass-Fix-4624 Feb 13 '24
π² in my zone there won't be startups. Now I'm seriously considering adding testing into my learning plan. Thank you for the insight!
5
u/Legal_Being_5517 Feb 16 '24
Yes this 100% β¦ we recently hired a dev who canβt do basic unit tests to save his life
4
u/Numerous_Money_3986 Feb 16 '24
Id argue that number of classes/entity doesn't really teach you more. Its just a larger quantity of the same thing. I made a program with jwt, auth, etc that fits a real world use case with only a few entities and moderate amount of classes.
1
u/Glass-Fix-4624 Feb 16 '24
Yes, honestly I was thinking about the same at a certain point. If you have a "full fledged" project with jwt, auth, transaction, hibernate mappings, and cloud docker, then it's already a pretty solid program. Number of entities is just a manual work of adding more entities if you've understood how to do it.
Thanks for confirming though
1
u/Gensys09 Feb 19 '24
Hello, how did you go about making it? Did you completely make it yourself from scratch and how long did it take you?
2
u/Numerous_Money_3986 Feb 19 '24
I am working in backend in a different stack so i used that knowledge combined with looking up spring docs.
1
3
Feb 14 '24
[removed] β view removed comment
1
1
u/Chamakuvangu01 Aug 10 '24
This is an amazing project, I remember I did one project almost like this with Django a while back and now I am learning Springboot, I am definetly gonna try this now.
11
u/xsreality Feb 13 '24
Here's the source code of a Telegram bot I wrote some time back to allow users to subscribe for alerts when Covid19 vaccination slots become available in their neighbourhood (in India). It is built with Spring Boot (2.x), uses Spring Data JPA with MariaDB, Flyway migration scripts, Spring Kafka for real time alerting, Kafka Streams, AWS Lambda for remote code invocations among other things. I would consider this medior and above level project.
https://github.com/xsreality/covid19-vaccine-tracker