I'm creating my first app and I'd want to keep using the stack I've learned. Therefore I've created a React-Native app that has an Express server and a PostgreSQL database. I can connect to a server that already exists (for instance, using my localhost server on Windows) but I can't figure out how to create a database server per device or some kind of PostgreSQL local storage. Is there no solution? Is there no way to use a local port on an Android/IOs device as it's used on Windows?
I left a list of posts that I've read but couldn't find an answer.
Most exhaustive answer and plenty of solutions but no one using something like Postgres/SQL or related
No answer (just an alternative) and it's an old question:
Same as before (answer is to use Realm):
More suitable but is there no answer and it's written in Java.
Remote access (not local storage) but following the d-vine answer it seems possible:
Postgres's docs on creating a database server:
Edit: added all this related post on local storage
- A lot of question about local storage and almost all answers saying to use AsyncStorage: