10 lines
No EOL
281 B
TypeScript
10 lines
No EOL
281 B
TypeScript
import express from 'express';
|
|
import { createUser, login, logout } from '../controllers/UserController.test';
|
|
|
|
const userRouter = express.Router();
|
|
|
|
userRouter.post('/', createUser);
|
|
userRouter.post('/login', login);
|
|
userRouter.post('/logout', logout);
|
|
|
|
export default userRouter; |