This is an educational project to create a console app that you to keep a record of different types of things you won: books, music albums, movies, and games. Everything will be based on the UML class diagram presented below.
- Insert and query data in SQL.
- Use primary key & foreign key mechanisms for joining tables.
- Understand the different types of relationships between tables.
- Query multiple tables.
- Prepare complex queries that answer analytical questions.
- Run a program using the command line.
- Use Ruby syntax for basic programming operations.
- Apply Ruby best practices and language style guides in code.
- Describe the SOLID principles of OOP.
- Implement classes and objects in Ruby.
- Understand the four main principles of OOP.
- Implement encapsulation and inheritance with Ruby.
- Create a UML class diagram.
- Explain the difference between associations, aggregations, and composition in OOP.
- Set up associations between classes and objects.
- Store data in files.
- Build interactive console apps.
- Recognize the value of making equal contributions to group projects to produce the best outcome.
- Here is the presentation video link👈
To get a local copy up and running follow these simple steps.
- A web browser like Google Chrome.
- A code editor like Visual Studio Code with Git and Ruby.
You can check if Git is installed by running the following command in the terminal.
$ git --version
Likewise for Ruby installation.
$ ruby --version && irb
Clone the repository using the GitHub link provided below.
In the terminal, go to your file directory and run this command.
$ git clone git@github.com:mavericks-db/capstone04.git
Kindly modify the files as needed.
Please run this command to start the application.
$ ruby main.rb
Also, a folder named data
will be generated automatically once you exit the app.
This folder will contain all the json files that are being read and write for data.
To install rspec, in the terminal kindly run this command
$ gem install rspec
To run tests, please run this command
$ rspec ./spec/#{filename}_spec.rb
Contributions, issues, and feature requests are welcome!
Feel free to check the issues page.
Give a ⭐️ if you like this project!
- Microverse
- Coding Partners
- Code Reviewers
This project is MIT licensed.