diff options
Diffstat (limited to 'server/routes')
-rw-r--r-- | server/routes/api.js | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/server/routes/api.js b/server/routes/api.js new file mode 100644 index 0000000..3684aa0 --- /dev/null +++ b/server/routes/api.js @@ -0,0 +1,8 @@ +const express = require('express'); +const router = express.Router(); + +const exampleController = require('../controllers/example'); + +router.get('/', exampleController.index); + +module.exports = router; |