Skip to content
  • Projects
  • Groups
  • Snippets
  • Help

Yossapol / wds-react

  • This project
    • Loading...
  • Sign in
Go to a project
  • Project
  • Repository
  • Issues 0
  • Merge Requests 0
  • Pipelines
  • Wiki
  • Snippets
  • Settings
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Files
  • Commits
  • Branches
  • Tags
  • Contributors
  • Graph
  • Compare
  • Charts
Switch branch/tag
  • wds-react
  • server
  • routes
  • menu.js
  • jutawuth nantawan's avatar
    add init project · d0dba98e
    jutawuth nantawan committed Feb 25, 2019
    d0dba98e Browse Files
menu.js 189 Bytes
BlameHistoryPermalink
1 2 3 4 5 6 7 8 9 10 11 12 13
const menu = require("../json/menu.json");

class Menu {

   constructor(app) {
      app.post("/getMenu", (req, res) => {
         res.send(menu);
      });
   }

}

module.exports = Menu;