"use strict";
exports.__esModule = true;
exports.votingRoutes = void 0;
var express_1 = require("express");
var movie_1 = require("./controller/movie");
var vote_1 = require("./controller/vote");
var router = (0, express_1.Router)();
var votingRoutes = function () {
    router.get('/', function (_, res) { return res.status(418).json({ message: 'Cine-PE API' }); });
    router.get('/movies', movie_1.MovieController.list);
    router.post('/votes', vote_1.VoteController.vote);
    return router;
};
exports.votingRoutes = votingRoutes;
//# sourceMappingURL=routes.js.map