const express = require("express"); const route = express.Router(); const { protect, protectAtlogin } = require("../Middleware/auth"); const controller = require("../Controller/Authentication"); const appVersion = require("../Controller/App_Versions") route.route("/login").post(protectAtlogin, controller.login); route.route("/appversion").get(appVersion.getAppVersion); route.route("/checkusername").get(protectAtlogin, controller.checkUsername); module.exports = route;