eolas-api/src/routes/entries.js

13 lines
434 B
JavaScript
Raw Normal View History

import express from "express"
import { EntriesService } from "../services/EntriesService"
import { EntriesController } from "../controllers/EntriesController"
import { EntriesService } from "../services/EntriesService"
const router = express.Router()
const entriesService = new EntriesService()
const entriesController = new EntriesController(entriesService)
router.get("/:entry", entriesController.getEntry)
export default router