added db.js to gitignore
added frontend files