Skip to content

mejiaej/csv-processor

Repository files navigation

csv-processor

Project to handle large csv-files and import the data to mongodb Important! project requires docker and yarn.

Development setup

# install dependencies
$ yarn install

# run mongo and mongo-express
$ docker-compose up

# start server
$ yarn start

Verify mongodb

alt text

Send large csv file located in /test/csv/

Important! copy /test/csv/test-large.csv to postman working directory, otherwise postman won't send the file. alt text

Important! it may take some seconds to fully import the data due to the large amount (700,000) alt text

Test setup

# install dependencies
$ yarn install

# run mongo and mongo-express
$ docker-compose up

# run tets
$ yarn test

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published