Nothing interesting here, just playing with elixir and cassandra.
CREATE KEYSPACE stats_development
WITH REPLICATION = { 'class' : 'SimpleStrategy', 'replication_factor' : 1 };
CREATE TABLE stats_development.events (
id uuid PRIMARY KEY,
data map<text, text>,
type text
);
To start your new Phoenix application:
- Install dependencies with
mix deps.get
- Start Phoenix endpoint with
mix phoenix.server
Now you can visit localhost:4000
from your browser.