Crowdhailer
Raxx.Kit - Micro framework for web applications
Raxx.Kit - Micro framework for web applications
From release (0.4.3) install is simplified by using hex.pm.
$ mix archive.install hex raxx_kit
$ mix raxx.kit my_app
...
Get started:
cd my_app
iex -S mix
View on http://localhost:8080
View on https://localhost:8443 (uses a self signed certificate)
Project includes
- Live reloading with ExSync
- HTTP/2 support (for https endpoint)
- Static content using Raxx.Static middleware
- Logging middleware
- Generated Dockerfile (use
--docker) - JavaScript bundling with npm (use
--node-assets) - APIBlueprint routing DSL with Raxx.ApiBlueprint (use
--apib)
Most Liked
AstonJ
Hi Peter, couldn’t find this in the docs and I guess many others will be wondering the same, so a few questions for you:
- How does this differ from Phoenix?
- When would you recommend people use this instead of Phoenix?
- Can this be used in multiple layers of an Elixir app, like Phoenix can?
- What does it have that Phoenix doesn’t?
- What doesn’t it have that Phoenix does?
- How does performance compare to Phoenix?
- Have you got any URLs of sites using this in production?
peerreynders
I think in any case it’s worthwhile to spend ~30 min watching ElixirDaze 2018 - Purify your web development.
- Raxx is a different abstraction than Plug. Phoenix is built around Plug. From what I’ve seen the Raxx abstraction aligns more closely with the HTTP protocol.
- Ace is used instead of Cowboy.
From a full stack perspective someone gravitating in front end matters to Vue.js in the “Vue.js vs React” discussion would likely gravitate towards Phoenix - until the Plug abstraction gets in the way.
Raxx seems more for control enthusiasts who don’t mind assembling their own framework in order to have “not a shred of bloat” in their system and prefer an abstraction more closely aligned with HTTP.
I especially liked how the streaming upload looked like a short-lived process handler.
Crowdhailer
Fix default ports for tutorial in 0.5.2
Building a distributed chatroom with Raxx.Kit tutorial did not work due to bug with default ports. This latest release fixes that.
elibdev
Crowdhailer
0.9.0 Overhaul of middleware and project structure
From Changelog
- Use
Raxx.Stackfor runtime middleware. - Move assets and public files into
wwwdirectory. - Clean up
child_specfunctions for each service. - Namespace all action modules under
Actionsmodule. - Create a separate
WWW.Routermodule. - Add an example integration test using
:httpc







