Skip to content

Commit 8b4525b

Browse files
committed
componenets: auth[auth_routes]
1 parent 241a238 commit 8b4525b

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

components/auth/auth_routes.js

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
import express from "express";
2+
import * as auth from "./auth.controller.js";
3+
4+
const authRouter = express.Router();
5+
6+
authRouter.post("/signup", auth.signUp);
7+
authRouter.post("/signin", auth.signIn);
8+
9+
export default authRouter;

0 commit comments

Comments
 (0)