Authentication and authorization
This commit is contained in:
committed by
Andrew Trieu
parent
8dd54efa6d
commit
ab526cca2a
8
server/routes/auth.js
Normal file
8
server/routes/auth.js
Normal file
@@ -0,0 +1,8 @@
|
||||
import express from "express";
|
||||
import { login } from "../controllers/auth.js";
|
||||
|
||||
const router = express.Router();
|
||||
|
||||
router.post("/login", login);
|
||||
|
||||
export default router;
|
||||
Reference in New Issue
Block a user