Course

Spring Boot Product API

Build a fully functional Product API from scratch with Spring Boot.

of video
2.1 h
lectures
35
sections
8

$49.97one payment

Lifetime access. 15-day money-back guarantee.

Want a mentor as well? The Academy gives you every course on Amigoscode plus code reviews, daily live calls and interview prep, for $129/month. Compare →

“Amigoscode does a pretty darned good job, and consistently too, covering Spring, and for that I'm very appreciative.”
Josh Long · Spring Developer Advocate

What you'll learn

By the end of this course

  • Database Integration - Set up a database, connect it to your Spring Boot application, and model your data using Java classes with annotations like `@Entity`, `@Table`, and `@Id`.
  • RESTful Endpoints - Build endpoints to handle CRUD operations, including creating, reading, updating, and deleting products.
  • DTO and Java Bean Validation - Implement data transfer objects (DTOs) and validate your inputs with Java Bean Validation annotations for a polished and professional API.
  • Global Exception Handling - Learn to manage errors gracefully using a global exception handler and custom error responses.

Curriculum

8 sections, 35 lectures

2.1 h of video. Open any section to see its lectures.

1Intro3 min
  1. 1Build Overview3 min
2Getting started44 min
  1. 1Adding Spring Boot Starter Web3 min
  2. 2Create Database3 min
  3. 3Connecting To Database5 min
  4. 4Product Class4 min
  5. 5@Entity @Table And @Id8 min
  6. 6Adding Constraints8 min
  7. 7Product Repository7 min
  8. 8Get All Products Api5 min
3Get product by id exercise8 min
  1. 1Exercise1 min
  2. 2Solution7 min
4More endpoints35 min
  1. 1Delete Product By Id4 min
  2. 2Create Products10 min
  3. 3Lets Add 2 More Constructors4 min
  4. 4Quiz
  5. 5Dto Exercise10 min
  6. 6Dto Exercise Solution8 min
5Update product exercise4 min
  1. 1Update Product Exercise
  2. 2Which HTTP Method?
  3. 3Implement Controller and Service
  4. 4Solution Walkthough4 min
6Java bean validation13 min
  1. 1Java Bean Validation8 min
  2. 2Testing Annotations5 min
  3. 3Java Bean Validation Exercise
  4. 4Java Bean Validation Exercise Solution
  5. 5Java Bean Validation Annotations
7Exceptions17 min
  1. 1Lets Improve Our Execeptions1 min
  2. 2Error Response Class2 min
  3. 3Global Exception Handler6 min
  4. 4Handle Method Argument Not Valid Exception8 min
  5. 5Exercise Solution
  6. 6Exercise Solution
8Outro1 min
  1. 1Next Steps1 min
  2. 2Feedback
  3. 3Next Course

Choose how you learn

Learn on your own, or with people who check your work

The course is yours to keep. The Academy is this course and every other one, plus the people who get you hired.

Spring Boot Product API

The course, on your own

$49.97one payment

  • 35 lectures, 2.1 h of video
  • Source code for everything you build
  • Course slides to revise from
  • Subtitles on every video
  • 6 months of IntelliJ IDEA Ultimate
  • Lifetime access to the course and its updates

15-day money-back guarantee

Recommended

The Academy

The courses, plus the people

$129/monthcancel anytime

This course, plus

  • Every course on Amigoscode 50+ in the Zero to Hired Roadmap
  • Daily live calls and 1:1 instructor time
  • Code reviews and pair programming on what you build
  • Interview prep mock interviews, System Design Lab, CV and LinkedIn review
  • Land an interview in 90 days or we coach you 1:1 free until you do.
Join the Academy

7-day money-back guarantee · Secure checkout on Skool

“Nelson was teaching 90% of my job. I was already implementing everything I learnt from it.”
MBMarlon BragaJava Full Stack Software Developer
“I was a totally different person. More confident as a developer, more prepared for my job.”
GabrielaSoftware Engineer at Mercado Livre
“I studied biomedicine and psychology. I found Nelson's Java tutorials while looking for a course for my brother. I was hooked and now here I am, a software engineer at IKEA.”
NajmaSoftware Engineer at IKEA

Read every review →

About this course

Who is this course for?

Level: All (Junior, Mid and Senior Engineers).

How long will it take?

There are about 2 hours of video. Most people finish in a week at 5 hours a week, plus the time you spend building along.

Do I keep access?

Yes. You pay once and keep the course for life, including updates.

What if it isn't for me?

Email us within 15 days of buying and we'll refund you in full.

Should I buy the course or join the Academy?

Buy the course if you only want this topic and you learn well on your own. Join the Academy if you want to get hired or move up: you get every course on Amigoscode, this one included, plus daily live calls, code reviews and interview prep, for $129/month. The course is $49.97 once.