Medium clone backend using Kotlin, Spring, Exposed and Krush. API as specified on https://realworld.io/
The repository shows how we use Kotlin+Exposed in TouK.
- Start Postgres Docker image on port 5434
docker run -p 5434:5432 --name realworld -e POSTGRES_USER=realworld -e POSTGRES_DB=realworld -e POSTGRES_PASSWORD=realworld -d postgres:14
- Run the app
./gradlew bootRun
- Run acceptance tests (Node and npx needed)
env APIURL=http://localhost:8080 ./acceptance/run-api-tests.sh