beneckimateusz / stream_chat

LiveView app to demonstrating streams

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

StreamChat

A Phoenix LiveView application that uses LiveStream to implement a real-time chatting feature. This app is a companion to my blog post on this topic, which you can find here.

The completed code can be found on the main branch. To follow along with the blog post, checkout the start branch.

Getting Startged

To start your Phoenix server:

  • Install dependencies with mix deps.get
  • Create and migrate your database with mix ecto.setup
  • Start Phoenix endpoint with mix phx.server or inside IEx with iex -S mix phx.server

Now you can visit localhost:4000 from your browser.

About

LiveView app to demonstrating streams


Languages

Language:Elixir 87.8%Language:HTML 10.2%Language:JavaScript 1.9%Language:CSS 0.1%