Api de Employee feita em springboot com acesso ao banco mysql.
1.4K
https://github.com/slackwarecps/springboot-employee
$ docker rm minha-api-exemplo
$ docker run --name minha-api-exemplo -p 8080:8080 \
-e DB_USERNAME=sa -e DB_PASSWORD=1234 -e DB_HOST=192.168.0.68 -e DB_NAME=employeedb \
fabioalvaro/springboot-employee:latest
curl --location 'http://localhost:8080/api/employees/addEmployee' \
--header 'Content-Type: application/json' \
--data-raw '{
"firstName": "Fabio",
"lastName": "Pereira",
"email": "[email protected]"
}'
curl --location 'http://localhost:8080/api/employees'
Content type
Image
Digest
sha256:abadea4f7…
Size
259 MB
Last updated
about 3 years ago
docker pull fabioalvaro/springboot-employee