This is intended to work with the Google Wifi applet on If This Then That (IFTTT) to log when specific devices connect and disconnect from the wifi network. It exposes two endpoints, both POSTs.
Note: We calculate connection/disconnection time server-side. This isn't the best way to do this, but this is for fun, after all.