I refactored the Express + MongoDB + Typescript example to use PostgreSQL instead. You can get it from https://github.com/ktorn/express-ts-postgres-example-app