https://github.com/aifrak/phoenix-chat
Simple chat handling rooms with Elixir, Phoenix and LiveView
https://github.com/aifrak/phoenix-chat
elixir liveview phoenix
Last synced: 9 months ago
JSON representation
Simple chat handling rooms with Elixir, Phoenix and LiveView
- Host: GitHub
- URL: https://github.com/aifrak/phoenix-chat
- Owner: aifrak
- Created: 2023-07-22T13:33:02.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2024-03-02T15:04:06.000Z (over 2 years ago)
- Last Synced: 2025-09-12T10:25:13.443Z (10 months ago)
- Topics: elixir, liveview, phoenix
- Language: Elixir
- Homepage:
- Size: 125 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ChatApp
A chat application with Elixir, Phoenix and LiveView.
## Setup
### Without devcontainer
- Create `docker-compose.override.yml` at the root with this content:
```yml
version: "3.9"
services:
app:
ports:
- 4000:4000
```
- Start the docker containers: `docker compose up -d`
- Go in the Elixir container: `docker compose exec app bash`
- Jump to section `Start Phoenix server`
### With devcontainer
- In VSCode, choose `Dev Containers: Reopen in Container`.
- Jump to section `Start Phoenix server`
## Start Phoenix server
- Run `mix setup` to install and setup dependencies
- In the terminal of the `app` container, 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.