Specify the port and db for app's db connection.
Add route handler for post pages.
Add template for post page.