I had some trouble deploying my NestJS/Postgres server to Heroku. To save anyone else (and possibly my future self) the headache, here are the steps. Repo here for reference/cloning. Prerequisites Heroku account Heroku cli installed Repo running locally. (You can clone my example repo here) Local repo linked to local postgres…