Open in app

Sign In

Write

Sign In

Paul Fedory
Paul Fedory

261 Followers

Home

About

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

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

Elixir

4 min read

Paul Fedory

Paul Fedory

261 Followers

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

Following
  • Obie Fernandez

    Obie Fernandez

  • Elizabeth McGuane

    Elizabeth McGuane

  • Smashing Magazine

    Smashing Magazine

  • Emelia Smith

    Emelia Smith

  • Dr. Jason Fung

    Dr. Jason Fung

See all (215)

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Text to speech

Teams