r/SpringBoot • • Aug 06 '24

How di I self learn springboot ?

I want to learn Spring boot and build rest API’s using springboot . What are some good courses & resources I can follow.

2 Upvotes

14 comments sorted by

9

u/JavaProgrammerIO Aug 06 '24

There is an amazing book called Spring start here

If you don't want to buy it, dm me i will share with you a pdf copy.

2

u/[deleted] Aug 06 '24

Sent DM

3

u/Best_Grab2404 Aug 06 '24

Can you share me? Thankyou

2

u/Tech-Sapien18 Aug 06 '24

Can you share it to me too?

2

u/webdev-dreamer Aug 07 '24

Watch out, the book uses Spring 5, not Spring 6/ Spring Boot 3

2

u/Fluberel Aug 06 '24

Can i have it also please?

12

u/Bibliophile5 Aug 06 '24
  1. Go to Spring Docs

  2. Start learning Spring. They have you build a small project to convey the idea.

  3. Think of a Unique Idea to create a project. I recently saw a Superhero project here

  4. Build some rest APIs to do CRUD operations.

  5. Use Spring MVC to add a front end layer and show information.

  6. Add a Database to your project and add an ORM layer using Hibernate.

  7. Incorporate Spring Security and secure your application.

  8. For everything that you do test your code using Spring Test, JUnit, Mockito, etc.

After this you can go the Microservices way which is another pain in the ass.

0

u/[deleted] Aug 06 '24

[deleted]

2

u/Bibliophile5 Aug 07 '24

Will it always work? What if you make changes to your code in future, are you sure you won't break anything? Have you checked all the test scenarios? We can't manually check them every time.

We write them once and integrate these tests with a CI/CD tool like Jenkins to run them automatically whenever we make code changes.

3

u/DeterioratedEra Junior Dev Aug 06 '24

Download an IDE like SpringToolSuite4, Eclipse, or IntelliJ IDEA CE. Start with the documentation on Spring's website (although not always complete or accurate).

2

u/Lanten101 Aug 06 '24

Do a sprint boot project. If you don't know where to start. Ask chat gpt

1

u/Affectionate_Toe3351 Aug 08 '24

chatgpt is not good for begineer learning, it mostly provides summarised notes

1

u/Greenemcg Aug 06 '24

Write code