Admin backends for Phoenix

It’s pretty much all in this one mix task: mix phx.gen.html — Phoenix v1.8.8

Run with --no-context and --no-schema if you already have the context and schema. The mix tasks generates all you need for the admin interface.

You can also generate an admin context module for list/get/create/update methods. The generator will set it up so you can see how you interact with your context app from your controllers.

3 Likes