For the DYI security afficionado, all inclusive code to run a server (Node/Express), webclient, database (MongoDB/Mongoose), and a tessel hooked up to magnetic door switch. A detailed spec sheet of all of the parts used is below along with detailed instructions on how to put what where. The project's server running here is hosted on Heroku while the database is on mLab. Below is an explanation about seeting up one of those components.
command line package for the Tessellated Security service