Postgres sample for Ktor Server
March 23, 2023 ยท View on GitHub
An application for creating, editing and deleting articles that uses Postgres database running on Docker image as a storage.
Steps
-
Execute gradle task
databaseInstanceand wait until Docker Compose builds image and starts container -
Execute this command to run the sample:
./gradlew run
Then, you can open http://localhost:8080/ in a browser to create, edit, and delete articles.