Skip to content

Latest commit

 

History

History
10 lines (9 loc) · 360 Bytes

File metadata and controls

10 lines (9 loc) · 360 Bytes

router.post("/register", async (req, res) => { router.post("/login", async (req, res) => {

/posts routes: router.get("/", async (req, res) => { router.get("/:id/comments", async (req, res) => { router.post("/", async (req, res) => { router.get("/:id", async (req, res) => { router.put("/:id", async (req, res) => { router.delete("/:id", async (req, res) => {