GithubHelp home page GithubHelp logo

taher-software / catalog-of-my-things Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 1.0 75 KB

Catalog of my things application , is a tool which can help you to keep a record of different types of things you won: books, music albums, movies, and games..

Ruby 100.00%
ruby rspec pgsql git sql

catalog-of-my-things's Introduction

Catalog-of-my-things

Catalog of my things application , is a tool which can help you to keep a record of different types of things you won: books, music albums, movies, and games..

Built With

  • Ruby
  • git
  • Rspec
  • PostgreSQL

Getting Started

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

  • Open terminal
  • Clone this project by the command:
$ git clone [email protected]:Taher-web-dev/Catalog-of-my-things.git
  • Then go to the main folder using the next command:
$ cd Catalog-of-my-things.
  • Finally run ./ruby_application/classes/main.rb in your console.

Description Video:

https://drive.google.com/file/d/1GSLZGoWQMcMRziihROz2E6jisOc3916z/view?usp=sharing

Authors

๐Ÿ‘ค Taher Haggui

๐Ÿ‘ค Gordon Tinyefuza

๐Ÿ‘ค Daniel Shdeed

๐Ÿค Contributing

Contributions, issues, and feature requests are welcome!

Feel free to check the issues page.

Show your support

Give a โญ๏ธ if you like this project!

Acknowledgments

  • Hat tip to anyone whose code was used
  • Inspiration
  • etc

๐Ÿ“ License

This project is MIT licensed.

catalog-of-my-things's People

Contributors

1gordon avatar danieldotcomcoder avatar taher-software avatar

Watchers

 avatar  avatar

catalog-of-my-things's Issues

[2pt] Create a schema.sql

Create a schema.sql file with tables that will be analogical to the structure of the classes that you created:

  • games table (add all properties and associations from the parent Item class as table columns)

  • authors table

[2pt] Implement can_be_archived? method

  • should override the method from the parent class

  • should return true if parent's method returns true AND if last_played_at is older than 2 years

  • otherwise, it should return false

[1pt] Implement can_be_archived? method

  • should override the method from the parent class

  • should return true if parent's method returns true AND if on_spotify equals true

  • otherwise, it should return false

[2pt] Implementing can_be_archived? method

  • should override the method from the parent class

  • should return true if the parent's method returns true OR if cover_state equals "bad" otherwise, it should return false

[1pt] Genre class

  • Create a Genre class with an association to the Item class (in a separate .rb file).

[2pt] Implement add-item method

  • should take an instance of the Item class as an input

    • should add the input item to the collection of items
  • should add self as a property of the item object (by using the correct setter from the item object)

[1pt] Label Class

Create a Label class with an association to the Item class (in a separate .rb file).

[2pt] Create a schema.sql

Create a schema.sql file with tables that will be analogical to the structure of the classes that you created:

  • books table (add all properties and associations from the parent Item class as table columns)

  • labels table

[2pt] Create a schema.sql

Create a schema.sql file with tables that will be analogical to the structure of the classes that you created:

  • music_albums table (add all properties and associations from the parent Item class as table columns)

  • genres table

[2pt] Implemeting Add Item method

  • should take an instance of the Item class as an input

  • should add the input item to the collection of items

  • should add self as a property of the item object (by using the correct setter from the item object)

[1pt] Implement add_item method

  • should take an instance of the Item class as an input

  • should add the input item to the collection of items

  • should add self as a property of the item object (by using the correct setter from the item object)

[1pt] Author class

Create an Author class with an association to the Item class (in a separate .rb file).

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.