How do I access database on another device nearby?

I need to create an app that accesses database on another device on the same wifi network. Is it possible with app inventor?

db

How is the database being "served up" on the wifi network to provide access ?

at the moment I don't have it ready. I need to create an application that shares the database between 2 or more devices