I have been fllowing a code from https://medium.freecodecamp.org/how-to-write-a-super-fast-link-shortener-with-elixir-phoenix-and-mnesia-70ffa1564b3c to write a url shortener as a means to learn elixir and phoenix .
Whenever I launch my phoenix server on the localhost:4000 it gives this error:
"Phoenix.Router.NoRouteError at GET / no route found for GET / (ShortenApiWeb.Router) "
Furthermore the terminal says that the way for the live reloading web socket is not also defined:
[info] GET /phoenix/live_reload/socket/websocket
[debug] ** (Phoenix.Router.NoRouteError) no route found for GET /phoenix/live_reload/socket/websocket (ShortenApiWeb.Router)
.