Demo app for the presentation
Slides: https://docs.google.com/presentation/d/1tIj_wf7iKkUnPy3De7wCGm0bCXiV3a0UMaoQoHJybyg/edit?usp=sharing
Start docker-compose
docker-compose up -d
Create a new user
curl --header "Content-Type: application/json" \
--request POST \
--data '{"firstName":"Test","lastName":"Test", "email": "test@mailinator.com", "address": "Munich"}' \
http://localhost:8080/create-user
You should see something like this
{"status":"success","id":1}
Get a user info
curl localhost:8080/user/1
Create a new user from CLI
docker exec -i demo-app sh -c "./bin/console app:create-user FirstName LastName test@mailinator.com "Test address""