Question
I'm using Hive in a Flutter Desktop app, but I want to use it on multiple stations, using the same bank. For each station I open the application, it creates new database files in the default directory of each machine, in Documents.
Would there be any solution or other database alternative?
Version
File databases (SQLite, Hive, ..) is not suitable to be used by multiple clients.
I would suggest well known network based database systems for example: mysql, postgresql, mongodb, redis, etcd, ... They are supporting and already optimized for concurrent client connections.
Also there's usually a layer between client and database, called backend to protect resources. It's not required but you might need to add that layer if things become complicated. Dealing with APIs would be much easier on client side rather than databases, but will increase development time significantly because you have to write backend code.
Btw if dart is the only language you know, you can use dart to create http server and handle & respond to requests using data from hivedb. ref: Dart http server
Most helpful comment
File databases (SQLite, Hive, ..) is not suitable to be used by multiple clients.
I would suggest well known network based database systems for example: mysql, postgresql, mongodb, redis, etcd, ... They are supporting and already optimized for concurrent client connections.
Also there's usually a layer between client and database, called backend to protect resources. It's not required but you might need to add that layer if things become complicated. Dealing with APIs would be much easier on client side rather than databases, but will increase development time significantly because you have to write backend code.
Btw if dart is the only language you know, you can use dart to create http server and handle & respond to requests using data from hivedb. ref: Dart http server