This project was generated with node version v12.14.1
XAMPP MYSQL used for database managemnent. Express.js framework for creating Node.js application. Postman used for API's call.
- Run
npm i
to install the dependencies - Install XAMPP .
- Start the XAMPP Apache server and start the XAMPP Mysql.
- Run
node app.js
to run the program. - If data file size is heavy kindly go to this directory
C:\xampp\mysql\bin
and increase this variable sizemax_allowed_packet=4M
in my.ini file - For accessing and creating your database: http://localhost/phpmyadmin/
- For uploading the file you can use http://127.0.0.1:1337/
- To update the data:
Hit
http://127.0.0.1:1337/category/categoryId
with put request. - To export data to csv
Hit
http://127.0.0.1:1337/exportToCSV
with get request.