Last active
July 6, 2020 10:47
-
-
Save GonzaCoding/d9100661de6e37d2aa8caf54c04b4818 to your computer and use it in GitHub Desktop.
Index.js del proyecto Futscrap-api
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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