Server-Side Kotlin with Ktor · PostgreSQL | raywenderlich.com


This is a companion discussion topic for the original entry at https://www.raywenderlich.com/2885892-server-side-kotlin-with-ktor/lessons/20

i get a feeling this is wgere the tutorial diverges from me because im using windows. postgres ui looks different plus im not sure i have the correct installation etc. will this postgres_version = 42.2.4.jre7 work regardless? and where is this number coming from?

Thanks for the question, @eoin_a!

It should be possible to get Postgres up and running on Windows. The Postgres.app used in the course is just for convenience on macOS. For Windows you would get the installation from here:

https://www.postgresql.org/download/windows/

or search online for instructions to install Postgres on Windows:

The version number 42.2.4.jre7 is the version number of the JDBC driver used by the app to connect to Postgres:

https://mvnrepository.com/artifact/org.postgresql/postgresql/42.2.4.jre7

Thanks again for the question and best of luck continuing with the course on Windows!

i updated to the latest version of the driver 42.2.8. works fine. i also used a password on the db so needed to add it to the environment variable

@eoin_a Do you still have issues with this?