Automatically consume data

Asked

Viewed 30 times

1

I’m starting my studies in JS and React-Native.

I developed an app that consumes data from a Mysql server that I have hosted on Uolhost, through a REST API that I have deployed as a Firebase Function.

It’s basically a list of the sales that were made on the day. The point is that to update the data the user needs to drag to run a Pull To Refresh, it made me think about the possibility of as soon as the record is recorded in the database my app detect this automatically and update the list.

I see this in many apps, but to be honest I can’t imagine what technology is used for this.

Use REST API? Nosql Database? How do I sync the data? Is there a specific name for such an approach? Where should I start my studies regarding this technology?

Thank you for your attention

  • 1

    Good morning Socket.IO is a Javascript library for real-time applications. https://socket.io/get-started/ from a search query... it’s pretty easy to use think you can meet your demand follow a chat example using Socket IO https://socket.io/get-started/chat.

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.