simple demo app for a JSON api and a single page app