A feedback management platform where an organization can provide their employees with a private space to:
- Express feedback, opinions, suggestions, concerns, or ideas.
- Participate in discussions through replies.
- Post or reply using their identity or anonymously.
- Upvote/downvote messages and replies.
- Discover popular and recent discussions.
- Understand the tone of each message through AI-powered sentiment analysis.
- Organize messages with relevant topics identified automatically by AI.
- Keep discussions clean by detecting potentially spammy replies.
- Allow administrators to moderate users, messages, and replies.
- Backend: Java, Spring Boot, Spring MVC, Bean Validation, and Spring Boot Actuator
- Architecture: Spring Modulith
- AI: Spring AI with Ollama and OpenAI
- Security: Spring Security and Thymeleaf Spring Security integration
- Data: Spring Data JPA, Hibernate, PostgreSQL, and Flyway
- Email: Spring Mail and Mailpit
- Frontend: Thymeleaf, Thymeleaf Layout Dialect, HTMX, Tailwind CSS 4, Font Awesome, and WebJars
- Developer tooling: Spring Boot DevTools, Docker Compose, BootUI, Maven, and Spotless
- Testing: JUnit 5, Spring Boot Test, Spring Modulith Test, Testcontainers, Awaitility, ArchUnit, Taikai, and Spring Test Profiler
- Code quality: JaCoCo and SonarQube
- JDK 25
- Docker and Docker Compose
- Ollama with qwen3:8b model
- Your favourite IDE (Recommended: IntelliJ IDEA)
Follow the Installation Guide to install the required tools.
Verify the prerequisites:
$ java -version
$ docker info
$ docker compose version
$ task --version
$ ollama --version# runs all tests
$ task test
# formats java code using spotless
$ task format
# builds docker image
$ task build_image
# starts app using docker compose
$ task start
$ task stop
$ task restartNOTE: For development, keep the watcher running in a separate terminal: npm run css:watch
- Application URL: http://localhost:8080
- Credentials:
admin@gmail.com/secret,siva@gmail.com/secret
mise can install the required SDKs (Java, Maven) and run tasks defined in mise.toml.
# Trust the project's mise.toml (one-time)
$ mise trust
# Install the SDKs (Java 25 Temurin, Maven)
$ mise install
# List available tasks
$ mise tasks
# Format code and run tests
$ mise run format
$ mise run test
# Run verification checks
$ mise run verify
# Build docker image
$ mise run build_image
# Run application in docker container
$ mise run start
$ mise run stop
$ mise run restartSet up a Kind cluster following Installation Guide
# create kind cluster
$ task kind_create
# deploy app to kind cluster
$ task k8s_deploy // this will take a while to download ollama
# undeploy app
$ task k8s_undeploy
# destroy kind cluster
$ task kind_destroyApplication URL: http://localhost:80
FeedbackHub uses Spring AI and supports both Ollama and OpenAI as chat model providers. Ollama is the default provider. The provider and model can be selected through environment variables when starting the application.
To use Ollama:
$ AI_PROVIDER=ollama OLLAMA_MODEL=qwen3:8b ./mvnw spring-boot:runTo use OpenAI, provide an API key and optionally choose a model:
$ AI_PROVIDER=openai OPENAI_API_KEY=<your-api-key> OPENAI_MODEL=gpt-5 ./mvnw spring-boot:runThese environment variables map to the Spring AI settings in src/main/resources/application.properties.
OLLAMA_URL can also be set when Ollama is running somewhere other than http://localhost:11434.
To try a different Ollama model locally, pull it first and pass its name through OLLAMA_MODEL:
$ ollama pull <model-name>
$ AI_PROVIDER=ollama OLLAMA_MODEL=<model-name> ./mvnw spring-boot:runUsing an environment variable requires no source-file changes. To make another Ollama model the project default, update every place that declares or prepares the default model:
src/main/resources/application.propertiesfor the application default.docker/compose.ymlanddocker/ollama-entrypoint.shfor Docker Compose.k8s/manifests/config.yamlfor Kubernetes.- This README and
docs/installation.mdto keep the setup instructions current.
The repository includes SonarQube MCP configuration in .mcp.json and .codex/config.toml to run the MCP server with Docker.
-
Copy the example environment file from the project root:
cp .env.example .env
-
Set the values in
.env:SONARQUBE_TOKEN: Your SonarQube Cloud access token.SONARQUBE_ORG: Your SonarQube Cloud organization key.
-
Start your AI agent from the project root with Docker running and the SonarQube MCP server enabled. Ask questions or perform tasks related to SonarQube, for example:
Show the open SonarQube issues for this project. Check the project's quality gate status. Help me fix the SonarQube issues in the modified files.
This repository includes project-specific Agent Skills in .agents/skills.
| Skill | Purpose |
|---|---|
$prd-to-requirements |
Generate use-case requirements from the PRD. |
$create-spec |
Create a usecase spec from UseCaseID or user input. |
$imp-spec |
Implement and test one UC-###, updating its status during the workflow. |
$java-code-review |
Review Java changes and create an actionable review.md report. |
You may want to install additional skills from sivalabs-agent-skills.
