Fix stupid bug in index route.
Update gitignore.
Add a route that allows transactions to be added to the db.