- π Built With
- π» Getting Started
- π₯ Authors
- π Future Features
- π€ Contributing
- βοΈ Show your support
- π Acknowledgements
- π License
In this group project, we create a console app that helps to keep a record of different types of things.
Our things are books, music albums, movies, and games.
They are inherint from the Item class.
The Item class has an association one to many with Genre, Author, Label, and Source.
Everything is based on a UML class diagram below.
In this project, all the data is stored in JSON files.
We will also prepare a database with tables structure analogical to the program's class structure.
For each method, we create a related unit test to it using Rspec.
Server
Database
Testing Framework
- Book, Music Album, Movie, and Game inherit Item class
- Ability to add a book
- Ability to list all books
- Ability to add a music album
- Ability to list all music albums
- Ability to add a game
- Ability to list all games
- Ability to set author to Item
- Ability to set genre to Item
- Ability to set label to Item
- Ability to list all authors (e.g. 'Stephen King')
- Ability to list all genres (e.g 'Comedy', 'Thriller')
- Ability to list all labels (e.g. 'Gift', 'New')
- Ability to write on JSON file
- Ability to read from JSON file
- Have a schema.sql to create database analogical to the program's structure
- Have unit test for each method
To get a local copy up and running, follow these steps:
In order to run this project you need:
- Terminal to run the irb console
Clone this repository to your desired folder:
Example commands:
cd my-folder
git clone git@github.com:Marcraphael12/Catalog-of-my-things.git
Install this project with:
Example command:
cd Catalog-of-my-things
bundle install
Example command:
ruby main.rb
Example command:
rspec spec
π¦ Clarielle Larissa
- GitHub: @rica213
- Twitter: @alc3and
- LinkedIn: Larissa Clarielle
πΆβπ«οΈ Marc Raphael
- GitHub: @Marcraphael12
- Twitter: @Marcraphael20
- LinkedIn: Marc raphael
π€ Christian Hakizimana
- GitHub: @hakichris
- Twitter: @hakichris2
- LinkedIn: Christian Hakizimana
- [Add a movie]
- [List all movies]
- [Set sources to Item]
- [List all sources (e.g. 'From a friend', 'Online shop')]
Contributions, issues, and feature requests are welcome!
Feel free to check the issues page.
If you like this project kindly give it a βοΈ STAR βοΈ
We would like to thank:
- Microverse
- Code Reviewers
This project is MIT licensed.