Skip to content

Comment on Building a full Django project, starting with a single file

Comments

I really wish there were something like this for Phoenix. I want to like it, but I feel a little inundated with all the codegen.

I second the feeling. It's really hard to tell what is (are?) the entry point and where does the flow go

If you use all the `--no-` flags (e.g. `--no-tailwind`) when creating a Phoenix project, you will be left with a surprisingly small amount of code.

This is not so useful in a real project, but good as a learning exercises to see what comprises the core of a Phoenix application.

https://hexdocs.pm/phoenix/Mix.Tasks.Phx.New.html

FWIW, everything starts in your project's `lib/project/application.ex` file. All the things in the `start` function dictate the "flow" of the application.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.