Git Product home page Git Product logo

catalog_of_my_things's Introduction

Salam! Hi there, I'm Masuma Jaffery

Typing SVG

coder-girl

Profile viewers GitHub stars

I'm currently learning 🤓

html5 css3 bootstrap javascript rails react redux ruby git mysql php Flutter Figma Python webpack

Wanna know About me more? 💖

const MasumaJaffery = { 
  education: "BS in Software Engineering 2022 && Microanut 2023-24, Buildspace s5 => ICodeDreams🌈",
  lookingFor: "Front-end developer" || "Full-stack web developer",
  experience: "Experience in remote working as a Microverse student",
  code: [HTML, CSS, Bootstrap, JavaScript, React, Redux, Ruby, Ruby on Rails, MySql, PHP, Postgresql, Python, Flutter, Figma],
  askMeAbout: [Travel, Movies, Food, Writing], 
  challenge: "I'm currently doing the best I can in the Microverse Program",
  funFacts: ["I love to learn new human and computer languages","Gracias Microverse!, الحمد لله"]
};



catalog_of_my_things's People

Contributors

cancelei avatar grandi0z avatar masumajaffery avatar najibullahjafari avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

catalog_of_my_things's Issues

[3pt] Write Unit Tests for Implemented Methods in MusicAlbum and Genre Classes - Member B

  • Write unit tests for the add_item method in the Genre class and the can_be_archived? method in the MusicAlbum class.

Long Description:

  • Create a separate file for unit tests.
  • Write tests for the add_item method in the Genre class, ensuring it adds items correctly and sets the genre as a property of the item.
  • Write tests for the can_be_archived? method in the MusicAlbum class, covering different scenarios to ensure it returns the correct boolean value.

[2pt] Implement Data Preservation for Movie and Source Classes - Member D

  • Implement functionality to save the state of Movie and Source instances in .json files.
  • Ensure that the data is correctly written to the .json files and can be read back into the application.
  • Test by creating instances, saving them to .json files, and then reading them back into the application.

[4pt] create the main.rb

  • Create a main.rb file that will serve as your console app entry point.
  • Implement startup actions:
    a). Present the user with a list of options to perform.
    b). Let users choose an option.
    c). If needed, ask for parameters for the option.
    d). Have a way to quit the app.

[3pt] Implement add_item Method in Source Class - Member D

  • In the source.rb file, implement the add_item method.
  • The method should take an instance of the Item class as input.
  • Add the input item to the collection of items.
  • Set the source instance as a property of the item object.
  • Test the method by adding an item and checking if it's added to the collection and if the source is set as a property of the item.

[2pt] Create MusicAlbum Class with Properties and Constructor - Student B

  • - Create a separate .rb file for the MusicAlbum class.
  • - Define and set up all properties visible in the diagram in the constructor method.

Long description:

  • Create a new .rb file named music_album.rb.
  • Define the MusicAlbum class.
  • Inside the class, declare the properties visible in the diagram.
  • Define a constructor method to initialize the properties.
  • Test the class by creating an instance and accessing the properties.

[2pt] Implement the following options in the console app - Student C

  • List of games
  • List all authors (e.g. 'Stephen King')
  • Add a game Description: Implement the following options in your console app:
  • A list of all games in the system
  • A list of all authors in the system, filtered by name if desired
  • An option to add a new game to the system

[4pt]Create all item class and methods

  • 1. Create Item class in a separate .rb file.
    All Item class properties visible in the diagram should be defined and set up in the constructor method. Exception: properties for the 1-to-many relationships should NOT be set in the constructor method. Instead, they should have a custom setter method created.
  • 2. Add all methods visible in the diagram.
    Implement methods:
    a). can_be_archived?() in the Item class
    should return true if published_date is older than 10 years.
    otherwise, it should return false
    b). move_to_archive() in the Item class
    should reuse can_be_archived?() method
    should change the archived property to true if the result of the can_be_archived?() method is true
    should do nothing if the result of the can_be_archived?() method is falsetion to be added

[2pt] Implement can_be_archived? Method in MusicAlbum Class - Member B

  • Override the method from the parent class.
  • It should return true if the parent's method returns true AND if on_spotify equals true, otherwise, it should return false.

Long Description:

  • In the music_album.rb file, override the can_be_archived? method from the parent class.
  • The method should return true if the parent's method returns true AND if on_spotify equals true.
  • Test the method with different scenarios to ensure it works as expected.

[2pt] Create Genre Class with Properties, Constructor, and Association to Item - Member B

  • Create a separate .rb file for the Genre class.
  • Define and set up all properties visible in the diagram in the constructor method.
  • Implement association to the Item class.

Long Description

  • Create a new .rb file named genre.rb.
  • Define the Genre class.
  • Inside the class, declare the properties visible in the diagram.
  • Define a constructor method to initialize the properties.
  • Implement an association to the Item class.
  • Test the class by creating an instance and accessing the properties and associations.

[3pt] Implement Console App Options for Music Albums and Genres - Member B

  • Implement options to list all music albums and genres, and to add a music album in the main.rb file.

Long description:

  • In the main.rb file, implement the options to list all music albums and genres.
  • Implement the option to add a music album.
  • Test the options by running the console app and selecting the implemented options to ensure they work as expected.

[2pt] Create schema.sql File with Tables for MusicAlbum and Genre Classes - Member B

  • Create tables music_albums and genres with all properties and associations from the parent Item class as table columns.

Long description:

  • Create a new file named schema.sql.
  • Define the music_albums and genres tables, including all properties and associations from the parent Item class as table columns.
  • Ensure the SQL syntax is correct and the tables can be created in a database.

[2pt] Classes Constructor Method -Student A

  • All Book class properties visible in the diagram should be defined and set up in the constructor method.
  • All Label class properties visible in the diagram should be defined and set up in the constructor method.

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.