Use some socket to connect and see the data in realtime.
A good tool to do this is the Firebase Realtime Database, that you are allowed to write and read data in realtime.
Store and sync data with our NoSQL cloud database. Data is synced across all clients in realtime, and remains available when your app goes offline.
The Firebase Realtime Database is a cloud-hosted database. Data is
stored as JSON and synchronized in realtime to every connected client.
When you build cross-platform apps with our iOS, Android, and
JavaScript SDKs, all of your clients share one Realtime Database
instance and automatically receive updates with the newest data.
Here's a link!
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…