mirror of
https://github.com/cheveguerra/whaticket-community.git
synced 2026-04-20 04:39:20 +00:00
added eslint and prrettier config files
This commit is contained in:
20
backend/src/routes/userRoutes.ts
Normal file
20
backend/src/routes/userRoutes.ts
Normal file
@@ -0,0 +1,20 @@
|
||||
import { Router } from "express";
|
||||
|
||||
// const isAuth = require("../../middleware/is-auth");
|
||||
// const UserController = require("../../controllers/UserController");
|
||||
|
||||
const userRoutes = Router();
|
||||
|
||||
userRoutes.get("/users", (req, res) =>
|
||||
res.json({ meessage: "lets do some prettier shit here" })
|
||||
);
|
||||
|
||||
// routes.post("/users", isAuth, UserController.store);
|
||||
|
||||
// routes.put("/users/:userId", isAuth, UserController.update);
|
||||
|
||||
// routes.get("/users/:userId", isAuth, UserController.show);
|
||||
|
||||
// routes.delete("/users/:userId", isAuth, UserController.delete);
|
||||
|
||||
export default userRoutes;
|
||||
Reference in New Issue
Block a user