text: const Router = require('express')
  const router = new Router()
  const controller = require('./authController')
  
  //POST
  
  router.post('/reset-token',  controller.ResetUserToken)
  
  router.post('/create-device',  controller.CreateDevices)
  
  router.post('/get-devices',  controller.getdevices)
  
  router.post('/create-alert',  controller.createalert)
  
  router.post('/get-tokens',  controller.GetTokens)
  
  router.post('/test', controller.test)
  
  
  //GET
  
  router.get('/create-alert/:token/:device/:location/:object/:status', controller.create_get_alert)
  
  router.get('/get-devices-get/:token/:device', controller.getdevicesGET)
  
  router.get('/health/:token/:device', controller.SetHealth)
  
  router.get('/checker/:token', controller.SyncChecker)
  
  router.get('/ping/:token/:device/:location', controller.ping)
  
  router.get('/test', controller.test)
  
  
  module.exports = router
  