https://github.com/serradura/banking_app
https://github.com/serradura/banking_app
commanded docker elixir elixir-phoenix event-sourcing pgweb
Last synced: 6 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/serradura/banking_app
- Owner: serradura
- Created: 2019-06-17T02:55:58.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2023-01-04T02:50:56.000Z (almost 3 years ago)
- Last Synced: 2025-02-13T05:15:38.069Z (8 months ago)
- Topics: commanded, docker, elixir, elixir-phoenix, event-sourcing, pgweb
- Language: Elixir
- Homepage:
- Size: 1.13 MB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 12
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# BankingApp
To start your Phoenix server:
1. Do you have docker and docker compose Installed?
If not, head over to [Docker's website](https://docs.docker.com/install/) 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`](http://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`](http://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:
```sh
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
```