First, run the development server:
npm run build
# then
npm run dev
Script to load the file Test_task.xlsx:
curl -X POST "http://localhost:3000/upload?invoicingMonth=2024-03" -F "file=@/Users/<YOUR USER>/<YOUR PATH>/Test_task.xlsx
or use this setup for Postman:
url:
http://localhost:3000/upload?invoicingMonth=2024-03
File for uploading: Test_task.xlsx
Test task: https://docs.google.com/document/d/1AzzNz020jp5SwqVKkUviKBsAbnAM2s5aXyzaM6qqoH0/edit