add hikes/map pulls hikes out of db and renders

This commit is contained in:
Berkeley Martinez
2015-07-13 00:25:01 -07:00
parent 8f738fb1d0
commit de1d931b82
13 changed files with 161 additions and 54 deletions

View File

@@ -0,0 +1,8 @@
import Fetchr from 'fetchr';
import getHikesService from '../services/hikes';
export default function bootServices(app) {
const hikesService = getHikesService(app);
Fetchr.registerFetcher(hikesService);
app.use('/services', Fetchr.middleware());
}