https://github.com/elixirschool/live-view-chat
A chat app built with Phoenix LiveView, PubSub and Presence
https://github.com/elixirschool/live-view-chat
Last synced: 10 months ago
JSON representation
A chat app built with Phoenix LiveView, PubSub and Presence
- Host: GitHub
- URL: https://github.com/elixirschool/live-view-chat
- Owner: elixirschool
- License: apache-2.0
- Created: 2019-05-15T10:44:04.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2023-02-28T18:29:28.000Z (almost 3 years ago)
- Last Synced: 2025-04-13T06:58:57.053Z (10 months ago)
- Language: Elixir
- Size: 570 KB
- Stars: 63
- Watchers: 2
- Forks: 13
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Phat
A chat app that leverages Phoenix LiveView, PubSub and Presence. Learn all about it by [reading this blog post](https://elixirschool.com/blog/live-view-with-presence/).
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.