This project is a web-based GUI for visualizing sensor data from the Spectrum launch vehicle. It uses React and communicates with a backend API to fetch and display the data.
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
- Node.js
- npm
- Clone the repository
- Navigate to the project directory
- Install the dependencies with the following command:
yarn install
To start the application, run the following command:
npm start
This will start the application on port 3000. To view the application, navigate to http://localhost:3000 in your browser.
- Timestamp: Include a timestamp in the response for tracking when the data was generated or fetched.
- Additional Information for Action Required: Provide additional information when isActionRequired is true. This could include a description of the action required.
- Consistent Casing: Ensure consistent casing in the JSON response keys across all APIs.
- Use of RESTful principles: The API endpoints could be structured more according to RESTful principles. For example, instead of having a separate endpoint for ActOnSpectrum, it could be a PUT or POST request to the SpectrumStatus endpoint.
- WebSocket Reconnection: If the SpectrumWS endpoint fails, the client has to manually reconnect. It would be better if the server could handle reconnections automatically.
- React - The web framework used
- Bootstrap - CSS framework
- Highcharts - Charting library
This project is licensed under the MIT License