https://elixircasts.io/versioned-api-with-phoenix
- Erlang 24.0
- Elixir 1.12.3
- NodeJS 14
- Pheonix 1.5.12
- There are two components for routing help function and routing:
as: :api
to set the helper prefixscope
to set the actual routing, namespace and affect the file structure
mix phx.gen.json
to generate JSON output