This repository follows the book: Zero to Production in Rust and the corresponding Github Repo
For the PostGRESql Database setup, following links were helpful in configuring on Windows and Linux:
- https://stackoverflow.com/questions/4465475/where-is-the-postgresql-config-file-postgresql-conf-on-windows
- https://stackoverflow.com/questions/55038942/fatal-password-authentication-failed-for-user-postgres-postgresql-11-with-pg
- https://stackoverflow.com/questions/37694987/connecting-to-postgresql-in-a-docker-container-from-outside
- https://stackoverflow.com/questions/25540711/docker-postgres-pgadmin-local-connection
The code itself doesn't have any platform dependency. However, the Database init script is written in shell script, so a Linux environment is assumed. To ensure it to run on Windows, Cygwin or Msys2 is required.