Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/crowdhailer/raxx_kit
Get started with Raxx + Elixir
https://github.com/crowdhailer/raxx_kit
elixir erlang http-server http2 webframework
Last synced: 2 days ago
JSON representation
Get started with Raxx + Elixir
- Host: GitHub
- URL: https://github.com/crowdhailer/raxx_kit
- Owner: CrowdHailer
- License: apache-2.0
- Created: 2016-05-26T16:12:38.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2020-04-07T18:07:20.000Z (almost 5 years ago)
- Last Synced: 2025-01-24T12:08:47.474Z (9 days ago)
- Topics: elixir, erlang, http-server, http2, webframework
- Language: HTML
- Homepage: http://crowdhailer.me/2018-05-01/building-a-distributed-chatroom-with-raxx-kit/
- Size: 625 KB
- Stars: 122
- Watchers: 7
- Forks: 10
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# Raxx.Kit
**Get started with [Raxx](https://github.com/crowdhailer/raxx)/[Ace](https://github.com/CrowdHailer/Ace).**
```sh
$ mix archive.install hex raxx_kit
$ mix raxx.new my_app
```### Options
- `--api`: Creates a JSON API project, instead of HTML pages.
- `--ecto`: Adds Ecto as a dependency and configures project to use
a Postgres database. If used with `--docker` flag, a docker-compose service
with the database will get generated.- `--node-assets`: Add JavaScript compilation as part of a generated project.
Works with or without docker.- `--docker`: Create `Dockerfile` and `docker-compose.yml` in template.
This allows local development to be conducted completly in docker.- `--module`: Used to name the top level module used in the generated project.
Without this option the module name will be generated from path option.```sh
$ mix raxx.new my_app# Is equivalent to
$ mix raxx.new my_app --module MyApp
```- `--no-exsync`: Doesn't include exsync in the generated project. Changed
files won't be rebuilt on the fly when the app is running.### Next
- [Check Raxx documentation on hexdocs](https://hexdocs.pm/raxx)
- [Join Raxx discussion on slack](https://elixir-lang.slack.com/messages/C56H3TBH8/)### Features
- Isolated web layer with [Raxx](https://github.com/crowdhailer/raxx)
- HTTP/2 support with [Ace](https://github.com/CrowdHailer/Ace) server
- Middleware for request logging and static content
- Sessions and flash messages
- Safe HTML templating
- [Ecto 3.0](https://github.com/elixir-ecto/ecto_sql) and PostgreSQL integration
- Controller unit tests
- Code reloading with [ExSync](https://github.com/falood/exsync)[Tutorial for building a distributed chatroom with Raxx.Kit](http://crowdhailer.me/2018-05-01/building-a-distributed-chatroom-with-raxx-kit/)