An open API service indexing awesome lists of open source software.

https://github.com/dkarter/socks

🧦 Example of relaying private messages on Phoenix Channels for only specific users.
https://github.com/dkarter/socks

elixir phoenix-channels phoenix-framework websockets

Last synced: about 1 year ago
JSON representation

🧦 Example of relaying private messages on Phoenix Channels for only specific users.

Awesome Lists containing this project

README

          

# Socks

Example of relaying private messages on Phoenix Channels for only specific users.

## Demo

![](./img/demo.gif)

## Usage

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 `npm install` inside the `assets` directory
* Start Phoenix endpoint with `mix phx.server`

Now you can visit [`localhost:4000`](http://localhost:4000) from your browser.

Ready to run in production? Please [check our deployment guides](https://hexdocs.pm/phoenix/deployment.html).