Scala-Play-Slick-Demo/conf/routes
Rohan Sircar cb9524eac7 Many changes
Rewrote slick db service using monix task instead of future
Added cats IO to controller to make use of above db service
Added action methods that support effect wrappers other than future
Added play-flyway to auto-manage migrations
Moved migration files to appropriate directory as a result of above
Added cors filter to work with separately hosted frontend
Made logger log at debug
2020-08-22 16:18:11 +05:30

14 lines
632 B
Plaintext

# Routes
# This file defines all application routes (Higher priority routes first)
# ~~~~
# Home page
GET / controllers.HomeController.index
GET /cars controllers.HomeController.cars
GET /book controllers.HomeController.book
GET /authors/:bookId controllers.MonixHomeController.authors(bookId: Long)
GET /user controllers.HomeController.user
# Map static resources from the /public folder to the /assets URL path
GET /assets/*file controllers.Assets.versioned(path="/public", file: Asset)