This is the official repository of Remote Triggering Labs (RTLabs) Web Application.
-
Ensure that you have Node.js and npm (Node Package Manager) installed on your system. You can download them from the official Node.js website.
-
Clone this repository to your local machine using:
git clone git@github.com:SOLVE-NITK/RTLabs-NITK-2023.git
-
Navigate to the project directory:
cd RTLabs-NITK-2023
-
Install the project dependencies:
npm install
-
Start the local server:
nodemon app.js
-
Open your web browser and navigate to http://localhost:3000.
-
Click the "Load" button to fetch and visualize the data from the trial_1.csv file.
-
The plot will be displayed on the page using Plotly.js.
- app.js: Node.js server script that serves the web application and handles data visualization.
- index.html: HTML file containing the button to trigger the plot generation.
- plotPage.html: HTML file containing the script to fetch and plot data from the CSV file using Plotly.js.
- trial_1.csv: Sample CSV file containing data to be visualized.
- Make sure the trial_1.csv file is located in the same directory as the app.js file.
- This application requires Node.js and npm to be installed to run the local server.
- This is a simple example and can be extended with additional features, error handling, and UI improvements.