An open API service indexing awesome lists of open source software.

https://github.com/praisespjmt/personal-catalog

This project implemented a console app that will help you to keep a record of different types of things you own: books, music albums, and games. The data are stored in JSON files. The project was implemented using Ruby and SQL
https://github.com/praisespjmt/personal-catalog

ruby sql

Last synced: about 1 year ago
JSON representation

This project implemented a console app that will help you to keep a record of different types of things you own: books, music albums, and games. The data are stored in JSON files. The project was implemented using Ruby and SQL

Awesome Lists containing this project

README

          

# 📗 Table of Contents

- [📖 About the Project](#about-project)
- [🛠 Built With](#built-with)
- [Tech Stack](#tech-stack)
- [Key Features](#key-features)
- [💻 Getting Started](#getting-started)
- [Setup](#setup)
- [Prerequisites](#prerequisites)
- [Install](#install)
- [Usage](#usage)
- [Run tests](#run-tests)
- [👥 Authors](#authors)
- [🤝 Contributing](#contributing)
- [⭐️ Show your support](#support)

# 📖 Personal Catalog

> This project implemented a console app that will help you to keep a
> record of different types of things you own: books, music albums, and games.
> Everything was based on the [UML class diagram](https://github.com/microverseinc/curriculum-ruby/blob/main/group-capstone/images/catalog_of_my_things.png).
> The data are stored in JSON files. A database was also prepared with
> tables structure analogical to the console app program's class structure.

## 🛠 Built With

### Tech Stack

> Here are the tech stacks applied in this project.

Languages

Linter

Test Library

Database

### Key Features
> This console app has the following feature abilities:
- Add various items of choice
- Add a book
- Add a music album
- Add a game
- View various items in personal collection
- List all books
- List all music albums
- List of games
- List all genres (e.g 'Comedy', 'Thriller')
- List all labels (e.g. 'Gift', 'New')
- List all authors (e.g. 'Stephen King')

(back to top)

## 💻 Getting Started

### Prerequisites

In order to run this project you need:

- Install Ruby on your computer (machine)

### Setup
Clone this repository to your desired folder:
```sh
git clone git@github.com:PraisesPJMT/Personal-Catalog.git
cd Personal-Catalog
```
### Install
Install this project with:
```sh
gem install bundler
bundle install
```
### Usage
To run the project, execute the following command:
```sh
ruby main.rb
```
### Run tests
In order to run unit tests on the local machine Rspec gem should be installed
- run in the terminal
```sh
gem install rspec
```
- After installation run
```sh
rspec spec/file_name.rb
```
- If you are interested in running all the tests together then
```sh
rspec spec
```
- For more information please visit [RubyGuides](https://www.rubyguides.com/2018/07/rspec-tutorial/).

(back to top)

## 👥 Authors
👤 **Benard Pacho** (Kenya)

[![GitHub](https://img.shields.io/badge/github-%23121011.svg?style=for-the-badge&logo=github&logoColor=white)](https://github.com/benardop/)
[![LinkedIn](https://img.shields.io/badge/linkedin-%230077B5.svg?style=for-the-badge&logo=linkedin&logoColor=white)](https://www.linkedin.com/in/ochieng-benard-8264b815/)
[![Twitter](https://img.shields.io/badge/Twitter-%231DA1F2.svg?style=for-the-badge&logo=Twitter&logoColor=white)](https://twitter.com/Bepacho)

👤 **Shaquille Ndunda** (Kenya)

[![GitHub](https://img.shields.io/badge/github-%23121011.svg?style=for-the-badge&logo=github&logoColor=white)](https://github.com/shaqdeff)
[![LinkedIn](https://img.shields.io/badge/linkedin-%230077B5.svg?style=for-the-badge&logo=linkedin&logoColor=white)](https://www.linkedin.com/in/shaquille-ndunda-b13a95107/)
[![Twitter](https://img.shields.io/badge/Twitter-%231DA1F2.svg?style=for-the-badge&logo=Twitter&logoColor=white)](https://twitter.com/shaquillendunda)

👤 **Praises Tula** (Nigeria)

[![GitHub](https://img.shields.io/badge/github-%23121011.svg?style=for-the-badge&logo=github&logoColor=white)](https://github.com/PraisesPJMT/)
[![LinkedIn](https://img.shields.io/badge/linkedin-%230077B5.svg?style=for-the-badge&logo=linkedin&logoColor=white)](https://www.linkedin.com/in/praises-tula/)
[![Twitter](https://img.shields.io/badge/Twitter-%231DA1F2.svg?style=for-the-badge&logo=Twitter&logoColor=white)](https://twitter.com/PraisesPJMT/)

[![Gmail](https://img.shields.io/badge/Gmail-D14836?style=for-the-badge&logo=gmail&logoColor=white)](mailto:praisesmusa@gmail.com)
[![AngelList](https://img.shields.io/badge/AngelList-%23D4D4D4.svg?style=for-the-badge&logo=AngelList&logoColor=black)](https://angel.co/u/praises-tula/)

(back to top)

## 🤝 Contributing

Contributions, issues, and feature requests are welcome!

Feel free to check the [issues page](../../issues/).

(back to top)

## ⭐️ Show your support

Give a ⭐️ if you like this project!

(back to top)