Add mock data + Fix package.json not pushed + Add REST requests

This commit is contained in:
Andrew Trieu
2023-07-11 22:12:25 +03:00
committed by Andrew Trieu
parent a25ea2d90a
commit f3d5ce2524
12 changed files with 2648 additions and 9 deletions

View File

@@ -14,3 +14,5 @@ router.get("/:userId", verifyToken, getUserPosts);
* Update - PATCH
*/
router.patch("/:postId/like", verifyToken, likePost);
export default router;