This is Ruby CLI application.
In this project I am exploring power of metaprogramming in Ruby and trying to add similar methods like Rails application as the following:
Associations:
* has_many
* has_one
Validation:
* Uniqueness
Terminal command using Thor gem(This gem is also used by Rails) as following:
* e_cart user create
* e_cart user show
* e_cart product create
* e_cart cart my_cart
Before Installation make sure you have installed ruby and rvm.
Install bundler using:
gem install bundler -v 1.17.3
Then clone this repository and you are good to go.
Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/e_cart. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct.
The gem is available as open source under the terms of the MIT License.
Everyone interacting in the ECart project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the code of conduct.