Version: 1.0.0
Date: September 25, 2025
This is a template for Backend Application (Spring Boot) which stores Products.
https://github.com/jadogeri/Spring-Boot-Demo-Factory-API.git
![]() |
![]() |
---|---|
![]() |
![]() |
- 9. References
- Create Products.
- Interact with API via swagger.
- Junior or Senior backend developers.
- beginners learning Spring Boot (Java).
- Programming Languages: Java, SQL
- IDE: IntelliJ and Visual Studio Code (VSCode)
- Backend Frameworks: Spring Boot JPA
- Database: H2 Database
- Test: JUnit and TestContainers
- Plugins: Early AI
- Container: Docker
- Version Control: Git and GitHub
- CI/CD: GitHub Actions
- Code Analsis: SonarQube
- Documentation: Swagger
- Download and install IntelliJ Community Edition
- Download and install Java
- Download and install Maven
- Download and install Docker - Windows
- Download and install Docker - Mac
- Terminal
- IntelliJ IDE
- In the root of (factory directory), run command mvn test.
- JUnit5 : JUnit 5 User Guide.
- Symflower : Symflower feature overview.
- TestContainers : Awesome Readme Templates
- Swagger : Swagger API Documentation for Spring Boot 3
- Medium : Handling exceptions and error responses
- TutorialsPoint : JUnit unit testing tool
This document outlines the system architecture, components, and design considerations for Factory API. The goal is to provide a template for backend developers to handle CRUD operations.
The system will allow users to:
Entity | Description |
---|---|
PRODUCT | product made in factory. |
Prerequisites :installation of Java, Docker and Maven.
0 open intelliJ IDE.
1 Select option CLONE REPOSITORY
.
2 Copy and paste url https://github.com/jadogeri/Spring-Boot-Demo-Factory-API.git
and choose location to save project then press clone.
(Note!! choose empty folder : I created folder factoryAPI)
3 Change view to Project.
4 Navigate to factory --> src
--> main
-- java
.
5 Inspect file FactoryApplication.java
.
6 Press play button to start application.
Prerequisites : Ensure container or local application is running.
Note : Use http://localhost:8080/swagger-ui/index.html docs for testing endpoints.
Tests can be ran by the following means below.
1. Terminal
mvn test
2. IntelliJ IDE
1 Change folder structure to Tests.
2 Right click on project folder (factory) --> Navigate to More Run/Debug
--> Run all Tests with Coverage
.
![]() |
![]() |
---|---|