https://github.com/webstronauts/ex_unpoly
Plug adapter for Unpoly, the unobtrusive JavaScript framework
https://github.com/webstronauts/ex_unpoly
elixir phoenix plug unpoly
Last synced: 10 months ago
JSON representation
Plug adapter for Unpoly, the unobtrusive JavaScript framework
- Host: GitHub
- URL: https://github.com/webstronauts/ex_unpoly
- Owner: webstronauts
- License: mit
- Created: 2019-11-14T13:44:30.000Z (about 6 years ago)
- Default Branch: main
- Last Pushed: 2021-06-17T12:16:17.000Z (over 4 years ago)
- Last Synced: 2024-10-16T09:36:04.430Z (over 1 year ago)
- Topics: elixir, phoenix, plug, unpoly
- Language: Elixir
- Homepage: https://hexdocs.pm/ex_unpoly
- Size: 23.4 KB
- Stars: 9
- Watchers: 2
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# ex_unpoly
[](https://github.com/webstronauts/ex_unpoly/actions?query=workflow%3Atest)
[](https://hex.pm/packages/ex_unpoly)
A Plug adapter and helpers for Unpoly, the unobtrusive JavaScript framework.
## Installation
To use Unpoly, you can add it to your application's dependencies.
```elixir
def deps do
[
{:ex_unpoly, "~> 1.0"}
]
end
```
## Usage
You can use the plug within your pipeline.
```elixir
defmodule MyApp.Endpoint do
plug Logger
plug Unpoly
plug MyApp.Router
end
```
To find out more, head to the [online documentation]([https://hexdocs.pm/ex_unpoly).
## Changelog
Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.
## Contributing
Clone the repository and run `mix test`. To generate docs, run `mix docs`.
## Credits
As it's just a simple port of Ruby to Elixir. All credits should go to the Unpoly team and their [unpoly](https://github.com/unpoly/unpoly) gem.
- [Robin van der Vleuten](https://github.com/robinvdvleuten)
- [All Contributors](../../contributors)
## License
The MIT License (MIT). Please see [License File](LICENSE) for more information.