Bottom line: I make all my database keys UUIDs and add some dependencies, configuration, and a custom schema file to tie it all together. I’ve taken all of these modifications and created a new generator, mix phx.new.john_elm_labs (available on Hex) which will auto-magically set up a new project with these defaults. You can see the project on GitHub.

Install it with mix archive.install hex phx_new_john_elm_labs. Then run mix phx.new.john_elm_labs.

continue reading on johnelmlabs.com

⚠️ This post links to an external website. ⚠️