- π Iβm interested in programming, networking, science, astronomy, rock music and learning new languages.
- π± Iβm currently learning coding at Microverse using React, Redux, Ruby, Rails, JavaScript, HTML and CSS!
- β‘ Fun fact: Walk with your shoulders is legal in other planets.
catalog-of-my-things's Introduction
catalog-of-my-things's People
catalog-of-my-things's Issues
[2.5pt] Add unit tests for Movies & Source classes implemented methods.
Add unit tests for movies
and source
classes and methods
[1 pts] Implement Startup options - Group task
- Present the user with a list of options to perform.
- Let users choose an option.
- If needed, ask for parameters for the option.
- Have a way to quit the app.
[4pt] Movie & Source Data should be preserved by saving collections in .json files.
Make data persist by storing the data into a .json
Project team assignment with Kanban
Set Up the project with Kanban board π π―
- We are four people.
- Team member 1 is @Reem-lab.
- Team member 2 is @fherrerao.
- Team member 3 is @Yothu.
- Team member 4 is @JEFFKAY16 .
[3pt] Add unit tests for add_items and can_be_archived methods
You should use Unit-test for each method.
[1pt] Create classes for book and label basic structure
- Create a book class in a separate file.
- Create a Label class in separate file
[3 pts] Preserve Game and Author data in JSON files
All data should be preserved by saving collections in .json files.
asd
[4plt] Create a schema.sql for movies and source classes
Create a database, tables for source and movies class(es)
-
movies table (add all properties and associations from the parent Item class as table columns)
-
sources table
[1pt] All MusicAlbum class properties visible in the diagram should be defined and set up in the constructor method.
All properties of the MusicAlbum should be in the constructor method.
[1pt] Create MusicAlbum class in a separate .rb file.
In a new file create a class to MusicAlbum.
[2pt] Data from Genre and Music classes should be preserved by saving collections in .json files.
You should store all data in a .json file
[1pt] Create a schema.sql file for book and label classes
- books table (add all properties and associations from the parent Item class as table columns)
- labels table
[1pt] Implement the UI interface to list book, labels and Add book.
- List all books
- List all labels (e.g. 'Gift', 'New')
- Add a book
[1 pts] Add move_to_archive to Item class method - Group task
- 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 false
[0.3pt] Create Movie class constructor with all properties
Add constructor properties to movies
class
[2pt] Create a schema.sql for Music and Genre classes
β¦ Music_albums table (add all properties and associations from the parent Item class as table columns)
β¦ Genres table
[0.5 pts] Add Item class constructor - Group task
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.
[1Xpt] Create MusicAlbum class in a separate .rb file.
- In a new file create a class to MusicAlbum.
[0.5pt] Create Movie class in a separate .rb file.
Create a movie class
[2pt] Can_be_archived?() in the MusicAlbum class
βͺ 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
[0.25 pts] Create the main.rb file - Group task
Create a ruby file called main.rb that will serve as your console app entry-point.
[1 pts] Create squema.sql of Game and Author classes
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
[1pt[ Implement add_item method in the Label class:
- 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] All Genre class properties visible in the diagram should be defined and set up in the constructor method.
All properties of the Genre should be in the constructor method.
[1pt] Create Genre class with an association to the Item class (in a separate .rb file).
In a new file create the association between Genre and Item classes.
[1 pts] Add can_be_archived? To Item class method - Group task
- Should return true if published_date is older than 10 years
- Otherwise, it should return false
[1pt] Add unit tests for book and label class methods
- Implement tests for add_item method in label class and can_be_archived in book class
[0.25 pts] Create Item class - Group task
- Create a
.rb
file for the Item class. - Create the Item class inside the file
[0.5 pts] Add Game class constructor
All Game class properties visible in the diagram should be defined and set up in the constructor method.
[0.5 pts] Add Author class constructor
All Author class properties visible in the diagram should be defined and set up in the constructor method.
[1pt] Implement book Class:
- All Book class properties visible in the diagram should be defined and set up in the constructor method.
[0.5 pts] Create Game class file
Create a Game class in a separate .rb file.
[2pt] List options for: ββList all movies, List all sources & Add a movie
-
ββList all movies
-
List all sources (e.g. 'From a friend', 'Online shop')
-
Add a movie
[3 pts] Add unit tests for all Game and Author class methods
Add unit tests for all implemented methods within the Game and Author classes.
[0.5pt] Create Source class with an association to the Item class (in a separate .rb file).
Create a source
class
[1pt] All books and labels data should be preserved by saving collections in .json files
- Create .json files to preserve data inside it.
[1 pts] Add add_item method in Author class
- 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)
[0.3pt] Create Source class constructor with all properties
Add constructor properties to source
class
[1 pts] Add can_be_archived? method in Game class
- 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
[2pt] Add_item method in the Genre class
β¦ 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)
[4pt] Add methods for Movie & Source class(es)
-
add_item
-
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)
-
can_be_archived?()
-
Should override the method from the parent class
-
Should return true if parent's method returns true OR if silent equals true
-
otherwise, it should return false
[1pt]Implement can_be_archived?() in the Book class:
- should override the method from the parent class
- should return true if parent's method returns true OR if cover_state equals to "bad"
otherwise, it should return false
[2 pts] Implement UI Game Author class methods
The methods to implement are the following:
- List of games
- List all authors
- Add a game
[1pt] Implement Label class :
- All Label class properties visible in the diagram should be defined and set up in the constructor method.
[4pt]The following options should be available:
List all music albums
β’ List all genres (e.g 'Comedy', 'Thriller')
β’ Add a music album
[0.5 pts] Create Author class associated with Item class
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.