Added skeleton for making REST calls to endpoints in database js file.