estatesfunding/ef-api/routes/admin.js

12 lines
217 B
JavaScript

import express from "express";
const router = express.Router();
import { adminUser, login } from "../controllers/admin.js"
router.post("/login", login);
router.get('/username', adminUser);
export default router;