DEV Community

Discussion on: How to set up a free PostgreSQL database on Heroku

Collapse
 
rodbove profile image
Rodrigo Mello

Nice! I was looking for a free hosting so I could demo an integration to a customer on my job and that will come in handy, thanks for the post!

Note for anyone also using Postgresql on Heroku, SSL is enabled by default so if you get an error regarding that when trying to connect through your application, remember to check how to disable that option when connecting. In my case using Node.js the adding the following property on my connection options resolved:
ssl: { rejectUnauthorized: false }

Collapse
 
masudndatsu profile image
Masud-Ndatsu

Thanks a lot man