newbie2
Phoenix phx.gen.auth for umbrella app, how to: mix phx.gen.auth Accounts User users
Hi all,
I have a clean umbrella project structured like this:
-
apps/data→ Ecto +Data.Repo -
apps/core→ business logic -
apps/admin→ Phoenix app (without its own Repo)
How can I configure the umbrella project so that I can run
mix phx.gen.auth Accounts User users
inside the admin app?
elixir 1.19, phoenix 1.18.
Most Liked
dimitarvp
I have also seen and contributed to serious efforts to introduce various boot-time flags / variables that made the app look like something very different depending on that input.
Not super idiomatic, many would say, but it worked well, we just had to have a good discipline. Lint by lint, regex rule by regex rule, we got there. It worked great.
I don’t deny that umbrellas can do the same but they gave me enough WTFs back in the day for me to remember not wanting to risk with them again. Maybe it’s a skill issue but I’d be okay with that as well. I don’t aim to know 100% of everything in Elixir.
And yeah Boundary is great. I love it and used it many times now (ironically never in my OSS work but so far I have not needed it there).
Popular in Questions
Other popular topics
Categories:
Sub Categories:
Forums
Popular Tags
- #ecto
- #liveview
- #troubleshooting
- #learning-elixir
- #deployment
- #library
- #erlang
- #testing
- #genserver
- #mix
- #absinthe
- #remote-other
- #otp
- #plug
- #how-to-question
- #macros
- #postgres
- #channels
- #elixirconf
- #exunit
- #discussion
- #code-sync
- #javascript
- #podcasts
- #onsite
- #dialyzer
- #docker
- #authentication
- #umbrella
- #full-time-contract
- #podcasts-by-brainlid
- #ecto-query
- #elixir-ls
- #phoenix_html
- #iex
- #blog-post
- #graphql
- #genstage
- #ai
- #websockets
- #supervisor
- #elixirconf-us
- #advent-of-code
- #distillery
- #processes
- #forms
- #api
- #metaprogramming
- #security
- #hex









