Skip to content

This is a simple application that deals with receiving payments from an external source and computing the resulting balances that I did to try out using railway oriented programming, functional programming and the dry-rb gems

Notifications You must be signed in to change notification settings

osmarluz/minibank

Repository files navigation

Minibank

This is a simple application that deals with receiving payments from an external source and computing the resulting balances that I did to try out using railway oriented programming, functional programming and the dry-rb gems.

minibank

ruby rails

Development Setup

1. Build the containers

docker-compose build

2. Create the database on the container

docker-compose run --rm app bundle exec rails db:create

3. Run the database migrations on the app database

docker-compose run --rm app bundle exec rails db:migrate

4. Build the assets

4.1 CSS

docker-compose run --rm app bundle exec rails css:build

4.2. Javascript

docker-compose run --rm app bundle exec yarn build

6. Start the containers

docker-compose up

Test Execution

1. Run the database migrations on the test database

docker-compose run --rm app bundle exec rails db:migrate RAILS_ENV=test

2. Run the tests

docker-compose run --rm app bundle exec rspec

About

This is a simple application that deals with receiving payments from an external source and computing the resulting balances that I did to try out using railway oriented programming, functional programming and the dry-rb gems

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published