added to routes for the user auth
All checks were successful
gitea/MERN_STACK_TEMPLATE/pipeline/head This commit looks good
All checks were successful
gitea/MERN_STACK_TEMPLATE/pipeline/head This commit looks good
This commit is contained in:
20
backend/routes/auth.route.js
Normal file
20
backend/routes/auth.route.js
Normal file
@ -0,0 +1,20 @@
|
||||
import express from "express";
|
||||
|
||||
const router = express.Router();
|
||||
|
||||
router.get("/signup", (req, res) => {
|
||||
res.send("Signup route");
|
||||
})
|
||||
|
||||
router.get("/login", (req, res) => {
|
||||
res.send("Signup route");
|
||||
})
|
||||
|
||||
router.get("/logout", (req, res) => {
|
||||
res.send("Signup route");
|
||||
})
|
||||
|
||||
export default router;
|
||||
|
||||
|
||||
// https://youtu.be/pmvEgZC55Cg?t=1028
|
Reference in New Issue
Block a user