In this episode we migrate StatWatch, a purely back-end OTP app into a new Phoenix 1.3 project in the following phases:
- Generate the Phoenix app Copy StatWatch into the Phoenix app Make some small improvements
- Add it and its child worker to the supervision tree
- Organize the app into Phoenix 1.3 Contexts
- 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.
No Comments