switch to api only, no db
routes, controller methods defined