ð·Prerequisites
Technical prerequisites
To follow along with this guide, please ensure that you have the following setup on your machine.
Install Elixir locally, for more instructions, refer to this guide
Install SQLite locally (it should be preinstalled for MacOS and Linux users), for Windows users, refer to this guide
Clone the demo repository for the code snippets
Using the demo repository
The demo repository contains four key branches:
main
: contains the code for base Phoenixliveview-base
: contains the code for migrating from base Phoenix to Phoenix LiveView without any further additionsliveview
: contains the completed code for Phoenix LiveView (including creating to-dos and marking to-dos as done/not done)complete
: contains the fully completed code with Phoenix LiveView and data persistence with SQLite3
To view the code on each branch, use the following commands:
Slides
You can find the slides for this workshop here.
Other prerequisites
Aside from these technical requirements, this guide assumes that you have some programming fundamentals (i.e. loops, basic understanding of recursion, variables, statements, etc.). More on these concepts will be introduced but it will be useful to have some fundamentals.
Last updated