- Elixir 1.7.x
- PostgreSQL 10.x
Api(apps/api) - Web API layerCore(apps/core) - data layer
- Configure database credentials:
cp apps/core/config/secret.exs.example apps/core/config/dev.secret.exs
cp apps/core/config/secret.exs.example apps/core/config/test.secret.exs- Setup database:
mix core.setup- Start the server and console
iex -S mix phx.server- Access the API under http://localhost:4000.