This project creates an Express.js route /generate-csv that fetches data from three APIs, generates a CSV file, and returns its file path.
-
Clone the repository:
git clone https://github.com/ssganesh035/webEngageAssignment -
Navigate to the project folder:
cd webEngageAssignment -
Install dependencies:
npm install -
Start the server:
node main.js -
Make a GET request to: http://localhost:3000/generate-csv
- Express
- Axios
- csv-writer
- path
The generated CSV file is saved in the project directory as result.csv.