Add API call and psql integration

This commit adds several features to the dashboard. Posts will now be
saved within postgresql. To access these posts, you will be able to make
an HTTP GET call and recieve the posts through json. Now AngularJS will
make this GET call to display all available posts on the home page.