Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

freeCodeCamp

Spring Boot and Spring Security - Building a Shopping Cart Backend

via freeCodeCamp

Overview

Embark on a comprehensive course to build a robust shopping cart backend using Spring Boot and Spring Security with JWT integration. Generate a project, create and map entity classes, and implement CRUD operations for products, categories, and carts. Develop services and controllers for various components, including product images, cart items, and user management. Learn to work with DTOs, integrate Spring Security, and implement JWT authentication. Test APIs, fix errors, and optimize the project structure. By the end, gain practical experience in developing a secure, full-featured e-commerce backend system using Java and Spring technologies.

Syllabus

intro
generating the project
creating and mapping entity classes
implementing the product crud
implementing the product service
implementing the category service
implementing product image service
implementing the image controller
implementing the category controller
implementing the product controller
testing the product api
working with dtos
implementing the cart entities
implementing the cart service
add item to cart
remove item from cart
update item quantity
implementing the cart controller
implementing the cartItem controller
testing the cartItem api
testing the cart api
creating the order entities
creating the order service
creating the user entities
implementing the order service-2
implementing the user service
implementing the order controller
working with the order dto
implementing the user controller
implementing the user dto
testing the project
fixing apis errors
integrating spring security to project
integrating the user security service
integrating jwt to project
implementing the security config class
project clean up
project security testing
implementing the login api
implementing the login api
project wrap up

Taught by

freeCodeCamp.org

Reviews

Start your review of Spring Boot and Spring Security - Building a Shopping Cart Backend

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.