Finished RESTful API in server.js