MohamedTaha123 / phat

A Phoenix chat app built with LiveView, PubSub and Presence

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Phat

A chat app that leverages Phoenix LiveView, PubSub and Presence. Learn all about it by reading this blog post.

To start your Phoenix server:

  • Install dependencies with mix deps.get
  • Create and migrate your database with mix ecto.setup
  • Install Node.js dependencies with cd assets && npm install
  • Start Phoenix endpoint with mix phx.server

Now you can visit localhost:4000/sessions/new to log in as one of the user's described in priv/repo/seeds.exs. Then click the link to the visit the chat room we created via the database seed.

About

A Phoenix chat app built with LiveView, PubSub and Presence


Languages

Language:Elixir 65.4%Language:CSS 19.5%Language:JavaScript 8.3%Language:HTML 6.8%