Hackerspaces Status Wall
A basic web page that shows the status of hackerspaces that implement the hackerspace status API. It uses a directory API to find the available endpoints. Displays recent tweets from spaces.
It is currently hosted at hackerspaces.me
Client Side First
The page will try to access all APIs on the client side using an AJAX call. Only if this fails will a server side proxy be used.
A second aim of this page is to display any errors or potential problems with a particular spaces API.
Playing With It
The application uses MongoDb and this should be started first:
There is no migration infrastructure but the database can be created with the following command:
$ coffee tasks/create_database.coffee
To be deployable on Heroku a Procfile is used and the web service can be started by foreman:
$ foreman start
Some integration tests connect to a database and so the mongo daemon should be started first:
All tests can be run with:
$ npm test