Skip to content

shekhar-patil/Ecart-Cli-App

Repository files navigation

ECart

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

Installation

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.

Contributing

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.

License

The gem is available as open source under the terms of the MIT License.

Code of Conduct

Everyone interacting in the ECart project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the code of conduct.

About

No description, website, or topics provided.

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published