/** * Express router of api/ */ import express from 'express'; const router = express.Router(); router.get('/', async (req, res) => { return res.send('api/'); }); router.post('/newtask/', async (req, res) => { return res.send('api/newtask/'); }); router.get('/gettask/', async (req, res) => { return res.send('api/gettask/'); }); router.post('/savetask/', async (req, res) => { return res.send('api/savetask/'); }); router.get('/querytask/', async (req, res) => { return res.send('api/querytask/'); }); router.post('/onboard/', async (req, res) => { return res.send('api/onboard/'); }); router.get('/stats/', async (req, res) => { return res.send('api/stats/'); }); export default router;