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.
- Project dependencies
- Creating the database user
- Project Instalation
- Usage bank
- Api Documentation
- Contact
- Contributing
- Ruby 2.6.5
- Rails 5.2.3
- PostgreSQL
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/
$ sudo -u postgres psql;
$ create role bank_account with createdb login password 'bank_account123';
git clone git@github.com:juuh42dias/bank_account.git
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
Run!
- Run the
bundle exec rspec
to guarantee that everything is working fine.
- If everything is ok, run
rails server
you can check app running on http://localhost:3000
First of all, do you follow these steps
- Create an user: creating user
- Login user in the app: logging user
- Create an account: creating an account
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!
Juliana Dias dos Santos e Silva – @juuh42dias – hello@juliana.dev
https://gitlab.com/juuh42dias/
https://github.com/juuh42dias/
- Fork it (https://github.com/juuh42dias/bank_account/fork)
- Create your feature branch (
git checkout -b feature/fooBar
) - Commit your changes (
git commit -am 'Add some fooBar'
) - Push to the branch (
git push origin feature/fooBar
) - Create a new Pull Request