diff --git a/routes/users.js b/routes/users.js index 1773681..3ad5d13 100644 --- a/routes/users.js +++ b/routes/users.js @@ -1,11 +1,12 @@ const express = require("express") const router = express.Router() -const {getUsers,createUser,deleteUser} = require("../controllers/users") +const {getUsers,createUser,deleteUser,signIn} = require("../controllers/users") // const authenticate = require("../helpers/authenticate") router.get("/",getUsers) // router.get("/",authenticate,getUsers) -router.post("/",createUser) +router.post("/signup",createUser) +router.post("/signin",signIn) router.delete("/:id",deleteUser) module.exports = router \ No newline at end of file