Skip to content

Demo project designed for use as an example in tech talks

Notifications You must be signed in to change notification settings

Raytek/techtalk-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

techtalk-api

Demo project designed for use as an example in tech talks

How to manually build the database?

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

How to manually run the application?

Inside of the project folder run:

  1. ./gradlew clean build
  2. ./gradlew bootRun

Request example:

curl localhost:8383/person/1

About

Demo project designed for use as an example in tech talks

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published