- install docker
- copy
transactions_2_million.csv
tosrc/ManagedCodeTestTask.Api/
. Git does not support 100+MB files - run
docker-compose build
to build project. - run
docker-compose --env-file .env -f .\docker-compose.override.yml -f .\docker-compose.yml up -d
to run the db and app - visit
http://localhost:4847/swagger/index.html
- call POST: /api/transactions with body:
{"filePath": "transactions_2_million.csv"}
- be patient
- call GET: /api/transactions
for file results - put true in the parameter.
Open managedcodetesttask_output_files
volume to find and download output_file.json
with JSON results
Personal notes: JSON file report generation should be a separate controller, not a flag. I had a crazy weekend so I had to make some shortcuts.