Skip to content

Instantly share code, notes, and snippets.

@GonzaCoding
Last active July 6, 2020 10:47
Show Gist options
  • Select an option

  • Save GonzaCoding/d9100661de6e37d2aa8caf54c04b4818 to your computer and use it in GitHub Desktop.

Select an option

Save GonzaCoding/d9100661de6e37d2aa8caf54c04b4818 to your computer and use it in GitHub Desktop.
Index.js del proyecto Futscrap-api
const app = require('express')();
var historyController = require('../controllers/historyController');
app.get('/api', historyController.getTeams);
app.get('/api/:team', historyController.getHistoryByTeam);
module.exports = app;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment