Skip to content

serradura/banking_app

Folders and files

NameName
Last commit message
Last commit date
Jun 17, 2019
Jun 25, 2019
Jun 25, 2019
Jun 25, 2019
Jun 25, 2019
Jun 25, 2019
Jun 17, 2019
Jun 17, 2019
Jun 17, 2019
Jun 25, 2019
Jun 25, 2019
Jun 25, 2019
Jun 25, 2019
Jun 25, 2019
Jun 25, 2019
Jun 25, 2019

Repository files navigation

BankingApp

To start your Phoenix server:

  1. Do you have docker and docker compose Installed? If not, head over to Docker's website and install a version of Docker for your operating system of choice.
  2. Build the app docker-compose build
  3. Start it docker-compose up

Now you can visit localhost:4000 from your browser.

PgWeb

By default the docker-compose up will exposes Pgweb (a web-based database browser for PostgreSQL) in localhost:8081

Available URL schemes to connect:

  1. postgres://postgres:postgres@pg_read_model:5432/banking_app_dev?sslmode=disable
  2. postgres://postgres:postgres@pg_eventstore:5432/banking_app_eventstore_dev?sslmode=disable

To run the test suite:

docker-compose run web /bin/bash

# Run inside of the container
mix test

# or run the command below to see
# the test results with coverage statistics
mix coveralls

# open ./cover/excoveralls.html

Releases

No releases published

Packages

No packages published