Catalog-Of-Things

Catalog of Things, a versatile Ruby command-line application designed for efficient item management. This powerful tool allows you to easily organize and categorize groups of items. It allows you to create, and store item data effortlessly. With the ability to save your information in JSON files, you can ensure data persistence and accessibility.

Stars
3

๐Ÿ“— Table of Contents

๐Ÿ“– Catalog Of Things

Catalog Of Things is a Ruby-based project that is combined of several classes like Item with its relevant children such as Book, MusicAlbum, Movie, and Game, which is related together using Inheritance relationship. The Item class is also related some other classes like Author, Genre, Source, and Label that has the composition one-to-many relationship.

The project is a command-line project that prompts the user to first create the characteristics of an item and based on them, and then prompt the user to create the item of its desired substance.

๐Ÿ›  Built With

Tech Stack

  • โœ… Ruby.
  • โœ… PostgresSQL
  • โœ… Rubocop
  • โœ… Rspec

Key Features

  • Create 4 main characteristics for the item.
  • Link the Item with some classes using composition relationship.
  • Relate 4 other subitem for the Item class using inheritance.
  • Run the program using a command-line interface.

Vedio Represntation

  • In this vedio you can see that how the project works.

๐Ÿ’ป Getting Started

To get a local copy up and running, follow these steps.

  1. Clone or download this repository in your desired local directory.
git clone https://github.com/M-Anwar-Hussaini/Catalog-Of-Things.git
  1. Navigate to the project directory
cd Catalog-Of-Things
  1. Open a terminal or command-prompt interface on the directory.

  2. Install the dependencies of project

bundle install
  1. Run the main file
ruby main.rb

Prerequisites

In order to run this project you need:

Setup

Clone this repository to your desired folder:

  cd my-folder
  git clone https://github.com/M-Anwar-Hussaini/Catalog-Of-Things.git

Install

Install this project with:

  • โœ… Rubocop
  cd my-project
  gem install Rubocop
  • โœ… Rspec
  cd my-project
  gem install rspec

Run tests

To run tests, run the following command go to the root directory of the project:

  rspec spec/*.rb

๐Ÿ‘ฅ Authors

๐Ÿ‘ค Mohammad Anwar Hussaini

๐Ÿ‘ค Abdelaziz Mahdi

๐Ÿ‘ค lRebornsl

๐Ÿ”ญ Future Features

  • Create GUI interface
  • Make more validations on the methods.
  • Provide more features using user story.

๐Ÿค Contributing

Contributions, issues, and feature requests are welcome!

Feel free to check the issues page.

โญ๏ธ Show your support

If you like this project kindly drop a star to this project.

๐Ÿ™ Acknowledgments

I would like to thank Microverse for providing the opportunity to creat this project.

๐Ÿ“ License

This project is MIT licensed.

Related Projects