Task for Medipass Backend Challenge. Dependencies are already included in the module, so simply need to run npm start to retrieve data. Program is configured for Postgres Database. At the moment, the program is configured to retrieve a csv file from a website.
To run, the following steps are required:
-
Execute the import statements to create the tables in the database and ensure database has been created beforehand
-
Configure parameters in src/config/knex-config.js
-
Run with npm start