set up app with api route, express and mongodb