How do I connect PostgreSQL database to replit?
TheEnsphere

How do I connect PostgreSQL database to replit? I'm used to just typing psql [URI] in the terminal but replit dosen't seem to support that.

You are viewing a single comment. View All
blendSmile

i think repl.it does not support database interogation, but you can try hosting your database on heroku (free 10.000 rows, if you want a completely free hosting, try heliohost, it's a community driven hoster) and access it from your apps on repl.it.
here's some resource: https://devcenter.heroku.com/articles/heroku-postgresql
https://devcenter.heroku.com/articles/connecting-to-heroku-postgres-databases-from-outside-of-heroku