Creating a RESTful API with NodeJS