Backend Planning
What exactly do we need in the Backend?
We need to stream data from the backend, via WebSockets.
Currently, Flask is used for our main backend for routing, this will need to be replaced by the built-in integrated web socket library from Dash.
Do we need separate routes for different data types (latitude, longitude, etc.)?
Don’t want to fetch a potentially 5 MB file each time a request is made
Plus it more or less fits in with the Kafka streaming style so it’ll be good
Do we need a login system to establish a connection with the backend?
Is there any data processing that we need to do on our end? Will data be preprocessed and served to us or will it be raw?
Also, the current structure in which the dashboard is constantly waiting for the stream of information could be improved. There is an async library in dash that could be used:
Extra Backend Features:
Generate Data Report