diff --git a/backend-services/feed-service/conf/routes b/backend-services/feed-service/conf/routes index 3a0a580f887b00706a21a061072be0753ad5ca2a..c858105f24e817c9cc22bec4ddfeb0d8348e6e95 100644 --- a/backend-services/feed-service/conf/routes +++ b/backend-services/feed-service/conf/routes @@ -7,21 +7,19 @@ GET / controllers.HomeController.index() # Map static resources from the /public folder to the /assets URL path -GET /assets/*file controllers.Assets.versioned(path="/public", file: Asset) +GET /assets/*file controllers.Assets.versioned(path="/public", file: Asset) -GET /daily/getAll controllers.DailyController.getAll() +POST /daily/create controllers.DailyController.create() -GET /daily/users controllers.DailyController.getUserDailies(userId: String) +GET /user/dailies controllers.DailyController.getUserDailies(userId: String) -GET /feed controllers.DailyController.getUserFeed(userId: String) +GET /feed controllers.DailyController.getUserFeed(userId: String) -POST /daily/create controllers.DailyController.create() +PUT /daily/like controllers.DailyController.like() -PUT /daily/like controllers.DailyController.like() +PUT /daily/unlike controllers.DailyController.unlike() -PUT /daily/unlike controllers.DailyController.unlike() +GET /test/getFriends controllers.TestController.getFriends(userId: String) -GET /test/getFriends controllers.TestController.getFriends(userId: String) - -GET /test/verifyUser controllers.TestController.verifyUser(userId: String) +GET /test/verifyUser controllers.TestController.verifyUser(userId: String)