'How to host online my postgresql database for my flutter app
I built an app in flutter for my school association using posgresql, node.js, typescript... To built the backend on the app (typescript) I follow a tutorial that explain basics of backend, however I found nothing on how put my postgresql online on a server and connect it to my flutter app.
If anyone has a link or can explain how to proceed I would appreciate.
Thanks !
Solution 1:[1]
You can host your postgresql database on Ubuntu server.
How to Install and Set Up PostgreSQL Database on Ubuntu 20.04
After installing postgres database , you can use package postgres: ^2.4.3 in flutter.
Solution 2:[2]
You Can host your PostgreSQL-DB freely on Heroku using Heroku Postgres Add-on.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Piotr Wawrzyczek |
| Solution 2 | Amr Ali |
