Router: Difference between revisions
From ElixirBlocks
(Created page with "In Elixir Phoenix this is the file responsible for "routing" endpoint requests to data. When you create a new phoenix application named "app" the router is in this directory: '''app/lib/app_web/router.ex'''") |
No edit summary |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
In Elixir Phoenix | In Elixir Phoenix the router is responsible for "routing" endpoint requests to data. | ||
If you were to create a new phoenix application named "app" the router file would be in this directory: | |||
'''app/lib/app_web/router.ex''' | '''app / lib / app_web / router.ex''' |
Latest revision as of 00:50, 15 March 2024
In Elixir Phoenix the router is responsible for "routing" endpoint requests to data.
If you were to create a new phoenix application named "app" the router file would be in this directory:
app / lib / app_web / router.ex