• Stars
    star
    4
  • Rank 3,303,806 (Top 66 %)
  • Language
    Ruby
  • Created over 4 years ago
  • Updated over 3 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

This is a simple banking account system with manage user and accounts, you can create and account with an initial amount, deposit to an account, transfer and check balance from your accounts.

Banking Account - SA

rspec

This is a simple banking account system with manage user and accounts, you can create and account with an initial amount, deposit to an account, transfer and check balance from your accounts.

Index

Project dependencies

  • Ruby 2.6.5
  • Rails 5.2.3
  • PostgreSQL

Follow these instrunctions to install dependencies

If you use MacOS:
Ruby: https://github.com/rbenv/rbenv#homebrew-on-macos
PostgreSQL: https://www.postgresql.org/download/macosx/

If you use Ubuntu:
Ruby: https://github.com/rbenv/rbenv-installer#rbenv-installer
PostgreSQL:https://www.postgresql.org/download/linux/ubuntu/

Creating database user

  • $ sudo -u postgres psql;
  • $ create role bank_account with createdb login password 'bank_account123';

Project Instalation

Cloning project

Setup project

  • bin/setup

Execute the bin/setup script. This script will:

  • Verify if the necessary Ruby version is installed
  • Install the gems using Bundler
  • Create local copies of .env and database.yml
  • Create, migrate and populate the database

Running tests

Run!

  • Run the bundle exec rspec to guarantee that everything is working fine.

Running app

Usage bank

First of all, do you follow these steps

And be free to deposit (deposit is not required to logged user), to check your balance, transfer your rich money or list all your accounts.

Enjoy the app!

Contact

Juliana Dias dos Santos e Silva – @juuh42dias – [email protected]

https://gitlab.com/juuh42dias/
https://github.com/juuh42dias/

Contributing

  1. Fork it (https://github.com/juuh42dias/bank_account/fork)
  2. Create your feature branch (git checkout -b feature/fooBar)
  3. Commit your changes (git commit -am 'Add some fooBar')
  4. Push to the branch (git push origin feature/fooBar)
  5. Create a new Pull Request