Prerequisites¶
Before you begin, ensure you have the following tools and software installed on your system.
Required Software¶
Java Development Kit (JDK) 21+¶
The application requires Java 21 or later.
Apache Maven 3.9+¶
Maven is required for building the application.
Download from Apache Maven
- Extract to
C:\Program Files\Maven - Add
C:\Program Files\Maven\binto PATH - Verify in PowerShell:
Container Runtime (Optional)¶
For containerized deployment, install either Podman or Docker.
macOS:
Linux:
Verify:
macOS/Windows: Download Docker Desktop
Linux:
# Ubuntu/Debian
curl -fsSL https://get.docker.com -o get-docker.sh
sudo sh get-docker.sh
# Add user to docker group
sudo usermod -aG docker $USER
Verify:
Keycloak Server¶
You need access to a Keycloak server for authentication.
Option 1: Use Existing Keycloak
- URL: https://keycloak.lab.home
- Admin access required for realm configuration
Option 2: Run Keycloak Locally
Access Keycloak at: http://localhost:8080
Optional Tools¶
Git¶
For version control and cloning the repository.
Download from Git for Windows
curl¶
For testing API endpoints.
Included in Windows 10+ or download from curl.se
jq¶
For formatting JSON responses.
Download from stedolan.github.io/jq
System Requirements¶
Minimum Requirements¶
- CPU: 2 cores
- RAM: 2 GB
- Disk: 1 GB free space
- OS: macOS 10.15+, Linux (any modern distro), Windows 10+
Recommended Requirements¶
- CPU: 4 cores
- RAM: 4 GB
- Disk: 5 GB free space
- Network: Internet connection for downloading dependencies
Verification Checklist¶
Before proceeding, verify all required tools are installed:
- [ ] Java 21+ installed (
java -version) - [ ] Maven 3.9+ installed (
mvn -version) - [ ] Container runtime installed (optional) (
podman --versionordocker --version) - [ ] Keycloak server accessible
- [ ] Git installed (optional) (
git --version) - [ ] curl installed (optional) (
curl --version)
Next Steps¶
Once all prerequisites are met:
- Quick Start Guide - Get the API running quickly
- Building with Maven - Learn the build process
- Keycloak Setup - Configure authentication
Troubleshooting¶
Java Version Issues¶
If you have multiple Java versions installed:
# Check all installed versions
/usr/libexec/java_home -V # macOS
update-alternatives --config java # Linux
# Set JAVA_HOME
export JAVA_HOME=$(/usr/libexec/java_home -v 21) # macOS
export JAVA_HOME=/usr/lib/jvm/java-21-openjdk # Linux
Maven Issues¶
If Maven can't find Java:
Container Runtime Issues¶
If Podman machine won't start:
For more help, see Troubleshooting Guide.