Banking Account - SA
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
- Creating the database user
- Project Instalation
- Usage bank
- Api Documentation
- Contact
- Contributing
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
git clone [email protected]:juuh42dias/bank_account.git
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
- If everything is ok, run
rails server
you can check app running on http://localhost:3000
Usage bank
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!
Contact
Juliana Dias dos Santos e Silva β @juuh42dias β [email protected]
https://gitlab.com/juuh42dias/
https://github.com/juuh42dias/
Contributing
- 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