← All series

Series contents

Log in to track your progress

  1. 1. A worker to log stats from a YouTube’s API Episode
  2. 2. Querying Alexa Site API and parsing XML Episode
  3. 3. Adding Ecto and a Postgres database to StatWatch Episode
  4. 4. Putting an Elixir OTP app in our Elixir OTP app Episode
  5. 5. Launching StatWatch.me (side project) Episode
  6. 6. Planning a Phoenix web app for StatWatch Episode
  7. 7. From backend OTP app to Phoenix app Episode
  8. 8. Adding sessions and logins to StatWatch Episode
  9. 9. Password hashing and Ecto associations for StatWatch Episode
  10. 10. Permalinks and an admin auth plug for StatWatch Episode
  11. 11. Creating Ecto associations between profiles and stats Episode
  12. 12. Zero Dependency Pagination in Phoenix (Part 1) Episode
  13. 13. Zero Dependency Pagination in Phoenix (Part 2) Episode

From backend OTP app to Phoenix app

In this episode we migrate StatWatch, a purely back-end OTP app into a new Phoenix 1.3 project in the following phases:

  1. Generate the Phoenix app Copy StatWatch into the Phoenix app Make some small improvements
  2. Add it and its child worker to the supervision tree
  3. Organize the app into Phoenix 1.3 Contexts
  4. Hook it up to the DB Set up some basic CRUD

In Part 2, we'll set up login/log out functionality via sessions, store the current user in a plugable auth controller and build out a template to display stats.

Open standalone page ↗

No Comments