- Mysql for connection with database.
- csv-parse for manage data structured in text plain.
- ES2015 with the last of javascript like promises and async/await
- Environments Local or Production
/lib
/database (Connection and queries to database)
/env (Database credentials)
index.js (main function for populate database )
/csv (File with data to insert)
index.js (Script to run app)
{
host : 'localhost',
user : 'root',
password : '',
database : 'test'
}
npm run prod
npm run local