Skip to content

In this project, you will create a console app that will help you to keep a record of different types of things you own: books, music albums, movies, and games. Everything will be based on the UML class diagram presented below. The data will be stored in JSON files but you will also prepare a database with tables structure analogical to your pro…

License

Notifications You must be signed in to change notification settings

ger619/ruby-capstone

Repository files navigation

Catalog Of My Things

Microverse Ruby Group Capstone Project

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.

catalog_of_my_things

Learning Objectives 🔖

  • 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.

Project Documentation 📄

  • Here is the presentation video link👈

Built With 🛠️

Getting Started

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

Prerequisites

  • 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

Setup

Clone the repository using the GitHub link provided below.

Install

In the terminal, go to your file directory and run this command.

$ git clone [email protected]:ger619/ruby-capstone.git

$ gem install bundler

$ bundle install

Usage

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.

Run tests

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

Authors

👤 Mavericks Balitaan

  • LinkedIn: LinkedIn Badge

  • GitHub: GitHub Badge

  • Twitter: Twitter Badge

👤 Nii Amanor Djoleto

  • LinkedIn: LinkedIn Badge

  • GitHub: GitHub Badge

  • Twitter: Twitter Badge

👤 Abol Ger

  • LinkedIn: LinkedIn Badge

  • GitHub: GitHub Badge

  • Twitter: Twitter Badge

🤝 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

📝 License

This project is MIT licensed.

About

In this project, you will create a console app that will help you to keep a record of different types of things you own: books, music albums, movies, and games. Everything will be based on the UML class diagram presented below. The data will be stored in JSON files but you will also prepare a database with tables structure analogical to your pro…

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Languages