morkeltry / GAP-microfinance

GAP microfinance frontend and Solidity prototype
0 stars 1 forks source link

db_build.js for mySQL #30

Open morkeltry opened 6 years ago

morkeltry commented 6 years ago

Assume mySQL is installed and a database user has been created and has permissions. Make a .js script which uses the existing user details, stored in a .env file and populates the mySQL database from the queries in /server/database/db_build.sql

The code can be copied direct from /server/database/db_build.js and modified for mySQL.