GenServer from first principles: Mohammad Maqbool Alam // Elixir Wizards Conference 2021

Search for a command to run...

defmodule MyApp.Repo.Migrations.AddMessagesInsertedAtIndex do use Ecto.Migration @disable_ddl_transaction true @disable_migration_lock true def change do create index("messages", ["inserted_at DESC"], concurrently: true) end end if y...
Inside your application.ex file we will add our task supervisor with the name MyApp.TaskSupervisor MyApp.Application is the module where we essentially describe in what order BEAM should start our elixir application and it's the place where you descr...
In this talk, we will start by building the Backend while taking advantage of OTP primitives such as GenServer and friends to build a simple cron to fetch messages from Telegram API and then we build using Phoenix LiveView and Alpine.js to build the ...

