The server uses Mojolicious for the HTTP framework and daemon. Mojolicious can also run under FastCGI, Plack, Apache, etc if needed.
To talk to the database we use DBIx::Class (with MooseX::DBIC::Scaffold classes).
The API requests are REST-y; request parameters are query parameters (for now) and responses always JSON.
On errors an appropriate HTTP status code will be set, and a textual error returned in a hash, like { "error": "You forgot the foomogilizer" }.
{ "error": "You forgot the foomogilizer" }
There was an error while loading. Please reload this page.