Skip to content

mrroot5/bank

Repository files navigation

Bank

The idea behind this project is based on my Python wallet project.

Disclaimer

This is an example project. I'm not trying to create a real bank website.

Security, some audit requirements and features are simplified.

Features

Transactions, withdraw, deposit, fees, exchange rate...

I'm working on it so step by step. Take a look the feature type PRs or refactors. I also have others like: bugfix, build, style, docs. Take a look to the list of labels 😉.

Up & running

  • Using make:
make start
  • Just docker:
docker compose up -d

Check it on: http://localhost:4000.

Test it

  • Using make:
make tests
  • Just docker:
docker compose -f docker-compose-test.yml run --rm web_test mix test --warnings-as-errors

Seed it

Inside the web container:

  • Using make:
make bash
  • Just docker:
docker compose exec web /bin/bash

Execute seed command:

mix run priv/repo/seeds.exs

CI but locally

  • Using make:
make ci
  • Just docker:

Yo have all executed command in make-scripts/ci.sh.

Why I did the project this way?

Pleas check whys folder.

About

A simple bank app

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •