Skip to content

Example CQRS elixir application built with helios framework

Notifications You must be signed in to change notification settings

exponentially/helios_example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Helios Example Application

Demonstrates capabilities of helios framework

NOTE: this is still in early development phase, so it may brake sometimes.

How To Start

You need to install Eventstore localy or check config/config.exs and change adapter_config to meet your instalation if eventstore is available on different network address.

Then clone this repo and run:

$ mix deps.get
$ mix compile
$ iex --name helios_example_1@127.0.0.1 -S mix helios.server

You can run up to 3 instances of this application (libcluster is configured that way).

$ iex --name helios_example_2@127.0.0.1 -S mix helios.server
$ iex --name helios_example_3@127.0.0.1 -S mix helios.server

from any iex console above, check functions that are available in helios_example.ex file. For instance you could run:

iex> params = %{"first_name" => "Test", "last_name" => "User", "email" => "email@example.com"}
iex> HeliosExample.Facade.User.create_user(1, params)
{:ok, :created}

About

Example CQRS elixir application built with helios framework

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages