Demo project designed for use as an example in tech talks
docker run --volume [PATH]/techtalk-api/src/integrationTest/resources/schema.sql:/docker-entrypoint-initdb.d/10-schema.sql --volume [PATH]/techtalk-api/src/integrationTest/resources/data.sql:/docker-entrypoint-initdb.d/20-data.sql -p 5432:5432 --env POSTGRES_PASSWORD=techtalk --name postgres --detach postgres:10.5-alpine
[PATH]
- Change for your local path
Inside of the project folder run:
./gradlew clean build
./gradlew bootRun
curl localhost:8383/person/1