Floors View -> GET /api/floor -> get all floors -> GET /api/device -> get all devices at that floor Single Floor -> GET /api/data -> params: {device_id: id} -> GET /api/data/summarize -> output 6 different types of data Detail Single Floor -> dropdown -> better use axios to get all floors instead of using local storage Device view Sensor Type: -> GET /api/module/type -> get all sensor types -> POST /api/module/type -> create a new sensor type -> PUT /api/module/type -> update sensor type -> DELETE /api/module/type -> delete sensor type | Frontend | Backend | Database | | --------- | ---------------------- | ------------------------------ | | Floorview | get all floors, device | floor, device gb floor(status) | | | | | | | | | | | | | #### Holiday: DevicesController -> index -> 1. need to output the device status, 2. add floor selector DataController -> 1. urgent data -> keep for how long time -> for sending data to the fire station, 2. latest data pagination in react websocket: latest data, floor base channel