This is a Ruby on Rails API based application, which helps the user to creats an account & deposits & withdraws amount from the account.
Ruby 2.7.2
Rails 6.0.3
Postgres
Docker for Mac
- Build Docker
docker-compose build
- Database creation
docker-compose run web rake db:setup
- Start the Application
docker-compose up
docker-compose run -e RAILS_ENV=test web rspec
I personally try to keep things simple and small as much as possible. I am a fan of DRY but don't like to go super dry.
Btw I am a good believer in the single responsibility principle & prefer to have a number of classes instead of having a giant single class.
git push heroku master