#!/usr/bin/env bash # Starts the application on port 8080 (Ctrl-C to stop). Try: # curl -X POST 'localhost:8080/accounts/acc-1?owner=Asha' # curl -X POST 'localhost:8080/accounts/acc-1/deposit?amount=500' # curl localhost:8080/accounts/acc-1 # curl localhost:8080/accounts/acc-1/events # curl -X POST localhost:8080/admin/replay cd "$(dirname "$0")/.." exec mvn -B -q spring-boot:run