https://github.com/defactosoftware/notfoundroute
An overview of all routes in your Phoenix project.
https://github.com/defactosoftware/notfoundroute
elixir phoenix routes
Last synced: 10 months ago
JSON representation
An overview of all routes in your Phoenix project.
- Host: GitHub
- URL: https://github.com/defactosoftware/notfoundroute
- Owner: DefactoSoftware
- Created: 2020-12-17T15:41:24.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2021-08-24T12:42:05.000Z (over 4 years ago)
- Last Synced: 2025-03-21T11:09:43.969Z (10 months ago)
- Topics: elixir, phoenix, routes
- Language: Elixir
- Homepage:
- Size: 309 KB
- Stars: 5
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
[](https://hex.pm/packages/not_found_route)
# NotFoundRoute
Shows the routes in a (non umbrella) phoenix app with a live filter through all
routes. This is only enabled in `:dev` mode

Needed to run:
* Phoenix > 1.4
* LiveView (only needed for search)
## Install
Add to `mix.exs`
```ex
def deps do
# ...
{:not_found_route, "0.0.2"}
end
```
In `lib/my_app_web/router.ex`
```ex
defmodule MyAppWeb.Router do
# ...
import NotFoundRouteWeb.Router
# ...
# Add this as last route in the "/" scope
live_not_found()
end
```
## Usage
Go to a route that is not defined in the router, for example `/not-found`
where a page comes up with all the routes available in your appp.
Search works for each column, when clicking on a column search will work only
for that column.