const router = require('express-promise-router')() router.get('/', (req, res)=>{ console.log('api request') res.json({test: true}) }) module.exports = router;