We can't find the internet
Attempting to reconnect
Something went wrong!
Hang in there while we get back on track
Customizing Phoenix Projects with UUIDs and Configuration Adjustments
5
clicks
Source: johnelmlabs.com
The article outlines the repetitive modifications that John Curran makes every time he starts a new Phoenix project. He emphasizes the importance of using UUIDs for database keys instead of default integer IDs, and explains that he prefers the precision of `utc_datetime_usec` over the default `utc_datetime`. Curran also describes his enhancement of the Phoenix generator to streamline these common tasks by creating a custom generator, `mix phx.new.john_elm_labs`, which automates the setup of these configurations. He discusses adding dependencies like Credo for code quality and Styler for automatic style fixes, as well as `mix test.watch` for improved test-driven development workflow. Overall, the piece serves as a guide for developers seeking to optimize their Phoenix project setups.
Related posts
© HashMerge 2025