katerinakat/Api — pull request #1 by ntrianta (2014-12-23 00:48:44+00:00)
Title: code redesign first step

- Added default functions for not allowed and not implemented methods
- Changed function names to reflect target resource
- Changed routing to reflect resource and more RESTful design.
- Reorganised functions according to the resource they refer to.

TODO:

+ Add authentication to modification functions
+ Break code into packages
+ Apply design pattern