PHP RESTful API with an example MySQL database. | Hacker News Reader