The application is built using React, NodeJs, Vite, Electron, ChakraUI and Recharts.
To use this CLI application, you will need Node.js and npm installed. After cloning the repository, navigate to the project's root directory and install the necessary dependencies.
npm installAfter installing, you can run project by:
npm run dev
- help: Display a help message with information about available commands.
- about: Provide information about the application or its purpose.
- fetch-price [coin]: Fetch the current price of a specified cryptocurrency.
- upload: Opens the file explorer to allow uploading csv files only.
- draw [file] [columns]: Draws the chart of the specified columns of the file present in the draw-chart directory (first column will become the x-axis and rest will be on y-axis).
- delete [file]: Delete the specified file from directory.The CLI application includes a Node.js-based API that provides functionality for file-related operations. This API is integrated into the root directory of the React project. To use the API, follow these steps:
-
Installation:
You can install the required API dependencies using npm. Navigate to the API root directory /api and run the following command:
npm install
-
Run:
You can run this by:
node index
Makre sure that both API and Frontend should run at the same time on different terminals.
