ProcaWeb.Router (proca v3.4.1)
Main app router.
Serves:
- GraphQL api under /api
- GraphiQL API playground under /graphiql
- Webhooks under /webhook (eg /webhook/mailjet)
- Minimal user UI under /users
- Email link click handlers under /link
Run mix phx.routes
to see all routes.
Link to this section Summary
Functions
Callback invoked by Plug on every request.
Callback required by Plug that initializes the router for serving web requests.
Link to this section Functions
Link to this function
allow_origin()
Link to this function
api(conn, _)
Link to this function
api_without_auth(conn, _)
Link to this function
auth(conn, _)
Link to this function
browser(conn, _)
Link to this function
call(conn, opts)
Callback invoked by Plug on every request.
Link to this function
init(opts)
Callback required by Plug that initializes the router for serving web requests.