18 lines
431 B
JavaScript
Executable File
18 lines
431 B
JavaScript
Executable File
const express = require('express');
|
|
const router = express.Router();
|
|
const apiController = require('../controllers/api.js');
|
|
|
|
|
|
router.route('/game/quizz')
|
|
.get(apiController.game.quizz);
|
|
|
|
router.route('/game/check')
|
|
.get(apiController.game.check);
|
|
|
|
router.route('/species/completion')
|
|
.get(apiController.game.birdSpeciesCompletion);
|
|
|
|
router.route('/region')
|
|
.get(apiController.region);
|
|
|
|
module.exports = router; |