Skip to content
sharmis-tpPublic

About

CSV files processor using rust

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

14 Commits

Folders and files

Repository files navigation

AsyncCSVXpert

AsyncCSVXpert is a web application that allows users to upload CSV files, processes the URLs contained within, performs HTTP HEAD requests, and returns a CSV with detailed response information. The project consists of a Rust backend and a React frontend.

Table of Contents

Demo

Video

Prerequisites

Before you begin, ensure you have the following installed:

  • Rust (including cargo)
  • Node.js and npm (for the React frontend)

Setup

Clone the repository:

cd AsyncCSVXpert

Navigate to the Rust backend directory and install dependencies:

cd csv_processor
cargo build

Navigate to the React frontend directory and install dependencies:

cd csv-processor-frontend
npm install

Building the Backend

To build the Rust backend, navigate to the csv_processor directory and run:

cargo build --release

The compiled binary will be located in the target/release directory.

Running the Backend

To run the Rust backend, execute:

cargo run

The backend server will start, typically on http://localhost:8080.

Configuration

  • To change the number of threads used by the Rust backend, modify the value in the .env file inside the csv_processor directory. Default is 20.

Building the Frontend

To build the React frontend, navigate to the csv-processor-frontend directory and run:

npm run build

The build output will be located in the build directory.

Running the Frontend

To run the React frontend in development mode, execute:

npm start

The frontend will start, typically on http://localhost:3000.

Usage

About

CSV files processor using rust

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages