text: const friends = require('../data/friends');
  
  module.exports = (app) => {
  	app.get('/api/friends', (req, res) => {
  		res.json(friends.friendData);
  	});
  
  	app.post('/api/friends', (req, res) => {
  		res.json(friends.findClosestMatch(req));
  	});
  };