Create RESTful api for articles