Authentication and authorization

This commit is contained in:
Andrew Trieu
2023-07-07 19:33:54 +03:00
committed by Andrew Trieu
parent 8dd54efa6d
commit ab526cca2a
5 changed files with 159 additions and 0 deletions

8
server/routes/auth.js Normal file
View 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;