Skip to content

kimlindholm/plug_session_db_store

Repository files navigation

Plug.Session DB Store

CI Coverage Status

How-To: Database Session Store with Elixir and Plug

Description

See article Database Session Store with Elixir and Plug.

Requirements

Installation

To start your Phoenix server:

  • Install dependencies with mix deps.get
  • Create and migrate your database with mix ecto.setup
  • Install Node.js dependencies with npm install inside the assets directory
  • Start Phoenix endpoint with mix phx.server

Now you can visit localhost:4000 from your browser.

Testing

$ mix test
$ mix cov

Code Analysis

$ mix check [--fix]

Documentation

$ mix docs

License

See LICENSE.