Log in Sign up
Courses / Phoenix: Production SaaS on Elixir

Phoenix: Production SaaS on Elixir

Advanced
phoenix elixir liveview ecto oban saas security

About this course

A practical Phoenix course for building secure, modern SaaS services. A continuation of the Elixir course — solid command of the language is assumed (immutability, pattern matching, processes, OTP, GenServer/Supervisor). Targeted at Phoenix 1.8 (scopes, magic links, updated security headers, LiveView 1.1).

The course is built around what you actually need to ship a SaaS to production: layered architecture (thin web, thick contexts), Ecto (schemas, changesets, queries, transactions), authentication and authorization with scopes, multi-tenancy, LiveView for interactive UI, full testing (ExUnit, LiveViewTest, Mox, factories, E2E), background jobs with Oban, security (OWASP, Sobelow, MixAudit, CSP, encryption), and production operations (releases, config, observability, deployment).

As in the series’ language courses, parallels are drawn for a developer from the Rails world: Phoenix ≈ Rails (but functional and explicit), Ecto ≈ ActiveRecord (but without magic, changesets explicit), contexts ≈ service objects, LiveView ≈ Hotwire/Turbo (but on the server, over WebSocket), Oban ≈ Sidekiq (but in PostgreSQL, transactional), ExUnit ≈ RSpec/Minitest.

Pace 1–2 hours a day, roughly 3–4 weeks. Each lesson contains theory, Phoenix 1.8 code examples, a checklist of practical tasks, and a quiz. The main 1.8 principle: security by default — scopes make data isolation the default, not something you have to remember to add later.

Lessons (13)

1

Architecture, Endpoint, Plug, Routing

Enroll to unlock lessons
2

Ecto: Schemas, Migrations, Changesets

Enroll to unlock lessons
3

Ecto: Queries, Associations, Transactions

Enroll to unlock lessons
4

Contexts and Domain Design

Enroll to unlock lessons
5

Authentication: phx.gen.auth, Scopes, Magic Links

Enroll to unlock lessons
6

Authorization and Multi-Tenancy

Enroll to unlock lessons
7

LiveView: Basics

Enroll to unlock lessons
8

LiveView: Forms, Components, Streams, Real-Time

Enroll to unlock lessons
9

Testing

Enroll to unlock lessons
10

Background Jobs: Oban

Enroll to unlock lessons
11

SaaS Security

Enroll to unlock lessons
12

Production: Config, Releases, Observability, Deployment

Enroll to unlock lessons
13

Next Steps and Reference

Enroll to unlock lessons
No ratings yet

Comments (0)

Log in to leave a comment.

No comments yet. Be the first to comment!

Share this course

Invite someone else to start learning.