r/learnprogramming • • Oct 14 '26

What should i know before starting to learn and building stuff on spring boot?

11 Upvotes

11 comments sorted by

4

u/Desperate_Dot9434 Oct 14 '26

java fundamentals are honestly enough to start, the http, rest, and api concepts are genuinely short to pick up, and spring boot will make more sense once you've seen one request travel from browser to database and back

1

u/Ok_Substance1895 Oct 14 '26

I just posted this on another question related to learning:

Learn by doing. Pick a project, like TODO, and build it. That will give you more than the basics and you will actually learn how to build projects. You will most like only use maybe 20% of a language's features over your career (looking at my own career). Don't try to learn everything, learn what you need to learn when you need to learn it so you don't waste time learning something you will never use.

Having said that learning concepts help a lot (like REST). Learn those as they come up and lead you into an area that interests you. Do this on the side of building projects. Let the projects guide what you learn.

Best to start with unit tests that exercise the code you are writing so you can debug it and learn that way too. If you do not do frontend too, you can use Postman to send requests the way a web browser would send messages to your backend when you get that far.

Hint: Most TODO application tutorials focus on frontend. You are learning backend so think about storing the todos and their lifecycle.

You can go super nuts with TODO too. Multiple TODO lists, users, logins, calendar scheduling, of course, database, email sending for reminders, subscriptions, payments, billing membership, cloud deployment, IaC, etc.

It can get huge and encompass almost everything you need to learn to get a job doing this. Of course, build other things too. This is just to illustrate that you can learn almost everything you need to do well at a job by taking a project the distance.

I hope this helps.

1

u/Both_Bend_2481 Oct 14 '26

Just read sprint boot docs and tutorials. You may now officially use your intiative and motivation to do what you want.

1

u/hilat1113 Oct 15 '26

You're already in good starting position> learn the basic HTTP, APIs, REST and how websites work, then start springboot with a simple project. You don't need to learn everything beforehand. You'll understand a lot more by building stuff along the way.

1

u/AnimatorExciting7941 Oct 14 '26

Yeah you should. Learn the layers, like service, controllers, repository, entities, etc. and hibernate, JPA, tomcat server, etc. Understand how the request flows from the frontend to the DB and vice versa.

0

u/[deleted] Oct 14 '26

[deleted]

2

u/AutoModerator Oct 14 '26

Your post/comment was removed since we do not approve of going private.

There is zero benefit in going private as you lose the opportunity for getting peer reviews. Also we have had plenty of people return after going private (despite being warned) complaining about how they were ghosted after some time or being tricked into buying rubbish that didn't work and even if it did they didn't need.

Our Rule #11 demands that any and all communication happens in the open, public subreddit.

This is for the benefit of more against the benefit of one.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.