Skip to content

Latest commit

 

History

History
11 lines (8 loc) · 557 Bytes

README.md

File metadata and controls

11 lines (8 loc) · 557 Bytes

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.