a quick outline of the API routes in the node app