Skip to content

Latest commit

 

History

History
35 lines (21 loc) · 553 Bytes

README.md

File metadata and controls

35 lines (21 loc) · 553 Bytes

gilded-rose-tdd

A TDD implementation of the Gilded Rose stock control system

You can see the development of this code on YouTube

Setup

Requires Java 21 and Docker

Start Postgres in Docker

db/start-db.sh

Run (most of) the Tests

./gradlew clean test

Initialise the local database

db/migrate-dev.sh

Populate the database with test data

Run src/test/java/populate-main.kt

Run the app

Run src/main/java/main.kt