-
-
Notifications
You must be signed in to change notification settings - Fork 1
Quick Start
github-actions[bot] edited this page Sep 6, 2026
·
1 revision
- Java 25 (JDK with
--enable-previewsupport) - Docker and Docker Compose
- PostgreSQL 16+ (or use the Docker Compose service)
git clone https://github.com/lekhrocks/syncflow.git
cd syncflow
./gradlew clean builddocker compose -f docker/docker-compose.yml up -d postgresThis starts PostgreSQL on port 5432 with the syncflow database.
./gradlew :syncflow-api:bootRunThe API starts on port 8080. Default admin credentials:
-
Username:
admin -
Password:
admin-test-password
# Health check
curl http://localhost:8080/api/health
# Login
curl -X POST http://localhost:8080/api/auth/login \
-H "Content-Type: application/json" \
-d '{"username":"admin","password":"admin-test-password"}'Open http://localhost:8080/swagger-ui.html for interactive API exploration.
Start all services including MySQL, MongoDB, Kafka, and monitoring:
docker compose -f docker/docker-compose.yml up --buildServices:
| Service | Port | Profile |
|---|---|---|
| PostgreSQL | 5432 | always |
| MySQL | 3306 | mysql |
| MongoDB | 27017 | mongodb |
| Redis | 6379 | redis |
| Kafka | 9092 | kafka |
| Prometheus | 9090 | monitoring |
| Grafana | 3000 | monitoring |
| Task | Description |
|---|---|
./gradlew verify |
Format check + compile + unit tests |
./gradlew integrationTest |
Testcontainers integration tests (needs Docker) |
./gradlew smokeTest |
Docker up, migrate, integration tests, tear down |
./gradlew e2eTest |
Full end-to-end with all services |
./gradlew benchmark |
JMH microbenchmarks |