add a script to populate the database

the test/populate_db.js will update the test database on localhost
to include the data from the mock API files in the public folder