Skip to content

optimumBA/optimum_templates

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Optimum Templates

Phoenix generator templates customized to enforce Credo rules.

Targets Phoenix 1.8.x (tested against 1.8.7).

Usage

Add the repo as a git submodule to your Phoenix app (use --recurse-submodules when cloning projects that already include this submodule):

git submodule add https://github.com/optimumBA/optimum_templates priv/templates

When cloning a project that already has this submodule:

git clone --recurse-submodules <repo-url>

Then run a generator, e.g.

mix phx.gen.auth Accounts User users
mix phx.gen.schema Accounts.User users name:string age:integer

About

Phoenix generator templates with Credo rules enforced

Topics

Resources

License

Stars

Watchers

Forks

Contributors