Birbnest is a plug's Store implementation using Agent. This allows you to store your session data in a process which can be directly messaged in a distributed network unlike ETS.
- Add
birbnest
to your list of dependencies inmix.exs
:
```elixir
def deps do
[{:birbnest, "~> 0.1"}]
end
```
- Ensure
birbnest
is started before your application:
```elixir
def application do
[applications: [:birbnest]]
end
```
- If you are using Phoenix Framework, you need to change the Session plug setting in the application's Endpoint module.
```elixir
plug Plug.Session,
store: Birbnest.Nest
```
Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.
This project is licensed under the MIT License - see the LICENSE.md file for details