This repo is designed as a showcase for how to build apps that scale.
We have built chat example apps a couple of times
before
and the response has been good,
this time our mission is to operate within a very tight set of constraints:
- Easy to deploy to Heroku (or other "Cloud PaaS" service)
- Progressive Enhancement (Works when JavaScript is turned OFF!)
- Predictable (Linear) Performance
Chat. Probably the simplest and easiest to scale implementation you will see ...
unless you work
for {{ insert name of silicon valley unicorn messenger app here }}
.
To start your Phoenix app:
- Install dependencies with
mix deps.get
- Create and migrate your database with
mix ecto.create && mix ecto.migrate
- Install Node.js dependencies with
npm install
- Start Phoenix endpoint with
mix phoenix.server
Now you can visit localhost:4000
from your browser.
Ready to run in production? Please check our deployment guides.