Newer
Older
# Routes
# This file defines all application routes (Higher priority routes first)
# https://www.playframework.com/documentation/latest/ScalaRouting
# ~~~~
# An example controller showing a sample home page
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 /daily/getAll controllers.DailyController.getAll()
GET /daily/users controllers.DailyController.getUserDailies(userId: String)
GET /feed controllers.DailyController.getUserFeed(userId: String)
POST /daily/create controllers.DailyController.create()
PUT /daily/like controllers.DailyController.like()
PUT /daily/unlike controllers.DailyController.unlike()