in csv-reader run: ./csv-reader -file samples/data-100.csv | ../crm-importer/crm-importer
The CRM. A Rest API returning 500 errors in 30% of the cases.
Shared lib to access the database
Reads a csv file in format: email, name and imports each row into the postgresql database
yielding the id of the inserted field to the stdout
Checks if a customer identified by an id was already imported into the CRM, if not, calls the API
until it gets back a successful response and eventually updates the customer to denote it was imported.
Database schema, loaded when the docker image is build
Docker compose file to boot the postgresql database and the API.