Starter project with jwt auth and exposed. Find the associated blog post at: https://www.thebookofjoel.com/blog/kotlin-ktor-exposed-postgres
This is a project to help get started quickly with Ktor, Exposed, Postgres and Flywaydb.
- clone the repo
- if you don't have postgres installed, run
docker-compose up
to bring up a postgres container - set the DB_URL, DB_USER and DB_PASSWORD environment variables (can be found in the compose file if you are using that)
- build with gradle and run the project