Coding
PromptBeginner5 minmarkdown
Markdown Converter
Agent skill for markdown-converter
22
This is a Spring Boot 4.0.2 dashboarding application using **Java 25** with PostgreSQL, organized as a modular monolith using **Spring Modulith**. The architecture emphasizes module boundaries through package structure.
Sign in to like and favorite skills
This is a Spring Boot 4.0.2 dashboarding application using Java 25 with PostgreSQL, organized as a modular monolith using Spring Modulith. The architecture emphasizes module boundaries through package structure.
nl.kabisa.dashboarding represents a distinct modulerestservice: REST API endpoints (example: greeting service)dashboard: JPA entity management for dashboards with PostgreSQL/JSONBwidget: Widget management with encrypted secrets and configuration validation./mvnw, not global Maven)docker compose up # Starts PostgreSQL container
Database credentials in application.properties:
dashboarduser/dashboardpass on localhost:5432/dashboarddb
./mvnw spring-boot:run
Or use VS Code's "Run: DashboardingApplication" terminal configuration.
./mvnw test
@SpringBootTest with @AutoConfigureMockMvc for integration testsrestservice)@RestController with @GetMapping/@PostMappingpublic record Greeting(long id, String content)@PrePersist, @PreUpdate)@JdbcTypeCode(SqlTypes.JSON) with columnDefinition = "jsonb" for PostgreSQL JSON columns@GeneratedValue(strategy = GenerationType.UUID)deletedAt timestampsEncryptionUtil with PBKDF2-derived AES keysObjectMapper (static or injected); do not instantiate per callJsonProcessingException, GeneralSecurityException) with descriptive messagesJpaRepository<Entity, ID> interface@Repository annotationhttp://localhost:8080/api-docshttp://localhost:8080/swagger-ui.html./mvnw (Maven wrapper) instead of system Maven for consistencyspring.jpa.hibernate.ddl-auto=update - suitable for learning, not production