Open des-des opened 7 years ago
@des-des if you can simplify it for beginners, please do. 👍
According to the Phoenix docs, the bare minimum Phoenix setup is mix phoenix.new web --no-brunch --no-ecto
, that won't setup db integration.
@des-des we wrote a "bare-bones" Elixir app: https://github.com/dwyl/hits-elixir It has significantly fewer files than a typical phoenix app and is well commented/documented and has full tests. But is not quite "hello world".
Additionally we have a more detailed ("real world") example: https://github.com/dwyl/phoenix-chat-example which has a DB (single table), Channels and Heroku Deployment, and is designed to "showcase" how easy it is to build/deploy something functional.
@nelsonic Not writing elixir now days feel free to go ahead and close this if you are happy!
Hope everything is good at dwyl :sparkles:
The hello world example in the programming phoenix book generates lots of boiler plate and gives you much more than you would get in a traditional hello world app. ie db integration, xss protection and much more. Can we find something more minimal? Can we use the phoenix framework without using auto generated boiler plate, so we can give a user an example of a hello word app with a minimal code base..
I am not sure if in this case, we would want to drop down and just use plug. This might be an option, since phoenix is built on plug..