Skip to content
No description, website, or topics provided.
Java Dockerfile
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
mysql
src
.gitignore
README.md
docker-compose.yml
mysqldb.dockerfile
pom.xml
springapp.dockerfile

README.md

run on your local mach

$ mvn clean package exec:java

run on docker

docker-compose up -d

create new person

curl -H "Content-Type: application/json" -X POST -d "{"first": "Mustafa","last": "KOÇ","dateofbirth": 381110400000,"placeofbirth": "Erzincan"}" "http://192.168.99.100:8080/people"

list existing people in the database

curl -H "Content-Type: application/json" -X GET "http://192.168.99.100:8080/people"

You can’t perform that action at this time.