built REST API using express, mongoose, path, and node