8 ms·
Yep! Just use Plug. There’s no need to drag the entire Phoenix stack in. https://hexdocs.pm/plug/readme.html https://hexdocs.pm/plug/readme.html
by bitcrusher 7y ago
Yep! Just use Plug. There’s no need to drag the entire Phoenix stack in.
https://hexdocs.pm/plug/readme.html https://hexdocs.pm/plug/readme.html
- out_of_protocol 7y agoThen you'll need to create own version of migrations, routing, configure asset building pipeline etc etc etc. Phoenix have everything in place, without need to re-implement lots and lots of basics
- Xixi 7y agoA bit pedantic, but migrations are provided by Ecto [1], not by Phoenix. You don't need Phoenix to use Ecto. https://hexdocs.pm/ecto/Ecto.html https://hexdocs.pm/ecto/Ecto.html
- out_of_protocol 7y agoWell, you'll still need to add Ecto, configure it to use separate configs for prod/dev/test environments etc - so point still stands :)