Create: Backend branch
This commit is contained in:
parent
f91febf919
commit
76ac0c292c
260 changed files with 10 additions and 12964 deletions
9
routes/misc.routes.js
Normal file
9
routes/misc.routes.js
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
const misc = require("../controllers/misc.controller");
|
||||
module.exports = app => {
|
||||
let router = require("express").Router();
|
||||
|
||||
// Get all interests available
|
||||
router.get("/misc/getInterests", misc.getInterests);
|
||||
|
||||
app.use('/api', router);
|
||||
};
|
||||
Reference in a new issue