routes 786 B

12345678910111213141516171819
  1. # Routes
  2. # This file defines all application routes (Higher priority routes first)
  3. # https://www.playframework.com/documentation/latest/ScalaRouting
  4. # ~~~~
  5. # An example controller showing a sample home page
  6. GET / controllers.HomeController.index
  7. # Map static resources from the /public folder to the /assets URL path
  8. GET /assets/*file controllers.Assets.versioned(path="/public", file: Asset)
  9. # GraphQL endpoint
  10. #TODO: This needs to be a POST endpoint that would take the query as the payload
  11. POST /graphql controllers.HomeController.graphQl
  12. # GraphiQL endpoint
  13. #GET /graphiql controllers.HomeController.graphiql
  14. #GET /graphql-schema controllers.HomeController.graphqlSchema