userRoutes.js 212 B

1234567891011
  1. import express from 'express'
  2. import { signin, signup } from '../controllers/user.js'
  3. const router = express.Router()
  4. router.post('/signin', signin)
  5. router.post('/signup', signup)
  6. export default router