Flask based RESTful API for my news app