So what I am trying to do is create a react app that graphs real time data coming from IoT sensors giving me temperature, humidity and pressure. I would like the data to persist so you can log into the app and check a specific time/day/month etc.
So far I have created a web sockets server and connected to the receiver that is sending the data. I am receiving data and displaying it on three separate graphs. When I switch graphs or close the app I lose the previous data. What is the best way to persist and hold the data? Will setting up a redux store be enough to hold months of data? Or will I need to set up a database to hold all of it?