Live Qchatex
Fiqus for educational and experimental purposes.
Open sourced web application done byThe idea was to research and practice about Phoenix LiveView implementation and to play around a little with Phoenix PubSub + Presence for sockets, using Memento as Elixir wrapper to Erlang Mnesia for data storage.
Live Qchatex is a very simple and quick chat engine that allows you to create and join chat rooms on-the-fly.
Don't need to register, just enter a nickname and you are ready to go!
NOTE: All chats, messages and users are automatically deleted after a certain period of inactivity.
lqchatex-overview.pdf
App overview PDF:https://lqchatex.fiqus.coop/
Live running demo at:Hosted by gigalixir.
Development
Pre-requisites
You will have to install:
Elixir
1.8 or laterErlang/OTP
20 or laterNode.js
5 or later
Start the server
- Install dependencies with
mix deps.get
- Install Node.js dependencies with
cd assets && npm install
- Start Phoenix endpoint with
mix phx.server
You can now visit http://localhost:4000 from your browser!
Test
mix test
- run the testsmix coverage
- for test coverage
Mnesia
mix mnesia.reset
- remove the mnesia storage directory from disk