add hikes/map pulls hikes out of db and renders
This commit is contained in:
8
server/boot/a-services.js
Normal file
8
server/boot/a-services.js
Normal 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());
|
||||
}
|
||||
Reference in New Issue
Block a user