How kacpergolebski/wdtb-2026-backend-inwentaryzacja works
This repository is a backend-course starter template, currently populated with a sample equipment-inventory domain. The documented runtime is a Spring application viewed locally, with Hibernate-created tables and SQL seed data; the README describes REST services and controllers as later project work, not as implemented here. Source excerpts show domain mappings and one repository, but no request-handling or service layer, so those paths are not inferred.
Main entry points: Equipment.java Equipment · InventoryCheckItem.java Check item · InventoryCheck.java Inventory check · InwentaryzacjaApplication.java Spring application
Components 16
Application runtime
- Spring application
src/main/java/pl/wsb/inwentaryzacja/InwentaryzacjaApplication.java - Project page
src/main/resources/static/index.html - Seed data
src/main/resources/data.sql - H2 database
src/main/resources/application.properties
Accounts and people
- User account
src/main/java/pl/wsb/inwentaryzacja/account/domain/UserAccount.java - Account role
src/main/java/pl/wsb/inwentaryzacja/account/domain/AccountRole.java - Employee
src/main/java/pl/wsb/inwentaryzacja/employee/entity/Employee.java
Equipment management
- Equipment
src/main/java/pl/wsb/inwentaryzacja/equipment/entity/Equipment.java - Equipment location
src/main/java/pl/wsb/inwentaryzacja/equipment/entity/EquipmentLocation.java - Equipment status
src/main/java/pl/wsb/inwentaryzacja/equipment/entity/EquipmentStatus.java - Equipment assignment
src/main/java/pl/wsb/inwentaryzacja/equipment/entity/EquipmentAssignment.java - Assignment repository
src/main/java/pl/wsb/inwentaryzacja/equipment/repository/EquipmentAssignmentRepository.java
Inventory checks
- Inventory check
src/main/java/pl/wsb/inwentaryzacja/inventory/entity/InventoryCheck.java - Check item
src/main/java/pl/wsb/inwentaryzacja/inventory/entity/InventoryCheckItem.java - Check result
src/main/java/pl/wsb/inwentaryzacja/inventory/entity/CheckResult.java
Other components
- Local user
Connections 17
- Local user → Spring application: opens locally
README.md - Spring application → Project page: serves page
README.md - Spring application → H2 database: initializes tables
README.md - Seed data → H2 database: seeds data
README.md - User account → Account role: uses role
src/main/java/pl/wsb/inwentaryzacja/account/domain/UserAccount.java - Employee → User account: references account
src/main/java/pl/wsb/inwentaryzacja/employee/entity/Employee.java - Equipment → Equipment location: embeds location
src/main/java/pl/wsb/inwentaryzacja/equipment/entity/Equipment.java - Equipment → Equipment status: uses status
src/main/java/pl/wsb/inwentaryzacja/equipment/entity/Equipment.java - Equipment assignment → Equipment: references equipment
src/main/java/pl/wsb/inwentaryzacja/equipment/entity/EquipmentAssignment.java - Equipment assignment → Employee: references employee
src/main/java/pl/wsb/inwentaryzacja/equipment/entity/EquipmentAssignment.java - Assignment repository → Equipment assignment: queries assignments
src/main/java/pl/wsb/inwentaryzacja/equipment/repository/EquipmentAssignmentRepository.java - Inventory check → Employee: records checker
src/main/java/pl/wsb/inwentaryzacja/inventory/entity/InventoryCheck.java - Inventory check → Equipment: adds checked item
src/main/java/pl/wsb/inwentaryzacja/inventory/entity/InventoryCheck.java - Inventory check → Check item: creates items
src/main/java/pl/wsb/inwentaryzacja/inventory/entity/InventoryCheck.java - Check item → Inventory check: references check
src/main/java/pl/wsb/inwentaryzacja/inventory/entity/InventoryCheckItem.java - Check item → Equipment: references equipment
src/main/java/pl/wsb/inwentaryzacja/inventory/entity/InventoryCheckItem.java - Check item → Check result: stores result
src/main/java/pl/wsb/inwentaryzacja/inventory/entity/InventoryCheckItem.java