Open in app
Home
Notifications
Lists
Stories

Write
Paul Fedory
Paul Fedory

Home

Feb 3, 2017

Basic Authentication In Your Phoenix App

It’s easy when you use Plug — It turns out that implementing HTTP Basic Authentication in your Phoenix app is easy when you use plugs. Let’s first see how the plug itself works: Adding a Module Plug This method of adding a Plug means that we add the Plug functionality inside a self-contained module. When the plug gets called, we’ll…

Elixir

3 min read


Jan 31, 2017

How (and when!) to store images in your database with Elixir & Phoenix

Many developers store images in Amazon S3, a Git repo, or in a filesystem. I’m storing mine directly in my PostgreSQL database. As it turns out, that’s the ideal approach to the problem I’m solving… In the examples below, we’ll be working with an existing Ecto model called Recommendation, which…

Elixir

4 min read

Paul Fedory

Paul Fedory

Software engineer. Elixir/Phoenix. Ruby/Rails. Television enthusiast. BBQ connoisseur.

Following
  • Kim Rees

    Kim Rees

  • Obie Fernandez

    Obie Fernandez

  • Andy Bell

    Andy Bell

  • Noam

    Noam

  • Thor

    Thor

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Knowable