Router: Difference between revisions

From ElixirBlocks
Jump to: navigation, search
(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
Line 1: Line 1:
In Elixir Phoenix this is the file responsible for "routing" endpoint requests to data.
In Elixir Phoenix the router responsible for "routing" endpoint requests to data.


When you create a new phoenix application named "app" the router is in this directory:
When you create a new phoenix application named "app" the router file is in this directory:


'''app/lib/app_web/router.ex'''
'''app/lib/app_web/router.ex'''

Revision as of 00:45, 15 March 2024

In Elixir Phoenix the router responsible for "routing" endpoint requests to data.

When you create a new phoenix application named "app" the router file is in this directory:

app/lib/app_web/router.ex