To run the application and its dependencies:
docker-compose up --build
To run the integration tests:
docker-compose -f docker-compose-test.yaml up --abort-on-container-exit
To create a new user:
curl -X POST http://localhost:8080/save \
-H "Content-Type: application/json" \
-d '{
"id": "<uuid>",
"name": "John Doe",
"email": "[email protected]",
"date_of_birth": "1990-01-01T00:00:00Z"
}'
To get a user by id:
curl http://localhost:8080/<uuid>