I think the syncing functionality should be broken out into a route, or a script that you can run like `node reset_db.js`