index.js 236 Bytes Raw Blame History Permalink 1 2 3 4 5 6 7 8 9 10 const express=require('express') const router=express.Router() const newDeck=require('./newDeck') const getDeck=require('./getDeck') router.post('/newdeck',newDeck.NewDeck) router.get('/getdeck',getDeck.GetDeck) module.exports=router