const fs = require('fs') const path = require('path') const router = require('express').Router() const mongoose = require('mongoose') const pkg = require('../package.json') require('./utils/mongoose') const folderPath = path.resolve(__dirname, './routers') const folders = fs.readdirSync(folderPath) router.get('/', async (req, res) => { res.send(`

multy stub is working v${pkg.version}

models

`) }) module.exports = router