soundbirder/routes/api.js
2024-02-04 07:07:37 +01:00

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;