kotlin-exposed-realworld
                                
                                
                                
                                    kotlin-exposed-realworld copied to clipboard
                            
                            
                            
                        Medium clone backend using Kotlin, Spring, Krush and Exposed. API as specified on https://realworld.io/
kotlin-exposed-realworld
Medium clone backend using Kotlin, Spring, Exposed and Krush. API as specified on https://realworld.io/
Rationale
The repository shows how we use Kotlin+Exposed in TouK.
Running acceptance test
- 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