Short restful api I created for an app, NodeJS