{"id":24273251,"url":"https://github.com/benawi/oop-school-library","last_synced_at":"2025-09-24T15:30:26.316Z","repository":{"id":185420729,"uuid":"673505216","full_name":"Benawi/OOP-School-Library","owner":"Benawi","description":"Imagine that you are the librarian of OOP University, and you need a tool to record what books are in the library and who borrows them. The app that you will create will allow you to:  Add new students or teachers. Add new books. Save records of who borrowed a given book and when.","archived":false,"fork":false,"pushed_at":"2024-02-27T08:23:05.000Z","size":672,"stargazers_count":5,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"develop","last_synced_at":"2024-05-17T15:54:48.930Z","etag":null,"topics":["abstr","enca","inheri","polymo","ruby"],"latest_commit_sha":null,"homepage":"","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Benawi.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2023-08-01T19:27:40.000Z","updated_at":"2023-10-24T13:11:29.000Z","dependencies_parsed_at":"2024-02-26T15:07:10.446Z","dependency_job_id":null,"html_url":"https://github.com/Benawi/OOP-School-Library","commit_stats":null,"previous_names":["benawi/oop-school-library"],"tags_count":0,"template":false,"template_full_name":"microverseinc/readme-template","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Benawi%2FOOP-School-Library","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Benawi%2FOOP-School-Library/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Benawi%2FOOP-School-Library/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Benawi%2FOOP-School-Library/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Benawi","download_url":"https://codeload.github.com/Benawi/OOP-School-Library/tar.gz/refs/heads/develop","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":234089602,"owners_count":18778107,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["abstr","enca","inheri","polymo","ruby"],"created_at":"2025-01-15T19:38:46.022Z","updated_at":"2025-09-24T15:30:20.913Z","avatar_url":"https://github.com/Benawi.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ca name=\"readme-top\"\u003e\u003c/a\u003e\n\n### \u003cdiv align=\"center\"\u003e\u003ca href=\"https://github.com/Benawi\"\u003e\u003cimg src=\"https://github.com/Benawi/Benawi/assets/21217148/de823737-5f7f-4de8-b62e-3fe88c238eab\"/\u003e\u003c/a\u003e\n\n \u003c/div\u003e \n\u003cdiv align=\"center\"\u003e🛰OOP school library🚀\u003c/div\u003e\n\n# 📗 Table of Contents\n\n- [📖 About the Project](#about-project)\n  - [🛠 Built With](#built-with)\n    - [Tech Stack](#tech-stack)\n    - [Key Features](#key-features)\n   \u003c!--  - [Live Demo](#live-demo)\n    - [Walkthrough](#Walkthrough) --\u003e\n- [💻 Getting Started](#getting-started)\n  - [Setup](#setup)\n  - [Prerequisites](#prerequisites)\n  - [Install](#install)\n  - [Usage](#usage)\n  - [Run tests](#run-tests)\n  \u003c!-- - [Deployment](#triangular_flag_on_post-deployment) --\u003e\n- [👥 Authors](#authors)\n- [🔭 Future Features](#future-features)\n- [🤝 Contributing](#contributing)\n- [⭐️ Show your support](#support)\n- [🙏 Acknowledgements](#acknowledgements)\n\n- [📝 License](#license)\n\n# 📖 OOP school library \u003ca name=\"about-project\"\u003e\u003c/a\u003e\nThis repository includes files with Ruby that can be used to recreate an OOP school library app.\n\n## 🛠 Built With \u003ca name=\"built-with\"\u003e\u003c/a\u003e\n\n## Tech Stack \u003ca name=\"tech-stack\"\u003e\u003c/a\u003e\n\n\u003cul\u003e\n\n  \u003cli\u003e\u003ca href=\"https://github.com/microverseinc/curriculum-ruby/blob/main/simple-ruby/lessons/basic_syntax.md\"\u003eRuby\u003c/a\u003e\u003c/li\u003e\n  \u003c!-- \u003cli\u003e\u003ca href=\"https://microverse.notion.site/HTML-CSS-Get-a-head-start-275eb85fd34b4416aa06ec635d69cdaf\"\u003eHTML\u003c/a\u003e\u003c/li\u003e\n  \u003cli\u003e\u003ca href=\"https://microverse.notion.site/HTML-CSS-Get-a-head-start-275eb85fd34b4416aa06ec635d69cdaf\"\u003eCSS\u003c/a\u003e\u003c/li\u003e\n      \u003cli\u003e\u003ca href=\"https://microverse.notion.site/HTML-CSS-Get-a-head-start-275eb85fd34b4416aa06ec635d69cdaf\"\u003eJS\u003c/a\u003e\u003c/li\u003e\n      \u003cli\u003e\u003ca href=\"https://react.dev/learn/start-a-new-react-project#create-react-app\"\u003eReact \u003c/a\u003e\u003c/li\u003e\n       \u003cli\u003e\u003ca href=\"https://react-redux.js.org/\"\u003eReact Redux\u003c/a\u003e\n        \u003cli\u003e\u003ca href=\"https://www.npmjs.com/package/redux-logger\"\u003eRedux Logger\u003c/a\u003e\u003c/li\u003e\n         \u003cli\u003e\u003ca href=\"https://github.com/microverseinc/curriculum-react-redux/blob/main/math-magicians/articles/react_router.md\"\u003eReact Router\u003c/a\u003e\u003c/li\u003e --\u003e\n         \n\u003c/ul\u003e\n\n## 🔑 Key Features \u003ca name=\"key-features\"\u003e\u003c/a\u003e\n\n### OOP school library\n\n- [x] Create Person class with:\n  - Instance vars: @id, @name, @age\n  - Constructor with optional name, parent_permission\n  - Getters/setters for @name, @age\n  - Private of_age? method\n  - Public can_use_services? method\n- [x] Create Student subclass with:\n  - Constructor adding @classroom\n  - play_hooky method\n- [x] Create Teacher subclass with:\n  - Constructor adding @specialization\n  - Override can_use_services? to always return true\n- [x] Prepare CapitalizeDecorator and TrimmerDecorator\n- [x] set up associations\n- [x] preserve data\n- [x] Add unit test\n\n\u003cp align=\"right\"\u003e(\u003ca href=\"#readme-top\"\u003eback to top\u003c/a\u003e)\u003c/p\u003e\n\n\u003c!-- GETTING STARTED --\u003e\n\n## 💻 Getting Started \u003ca name=\"getting-started\"\u003e\u003c/a\u003e\n\n### Prerequisites\n\nTo run this project you need:\n\n- [Ruby](https://www.ruby-lang.org/en/) installed and running. To get more information, read the [installation instructions](https://github.com/microverseinc/curriculum-ruby/blob/main/simple-ruby/articles/ruby_installation_instructions.md).\n- You should be able to use [IRB](https://en.wikipedia.org/wiki/Ruby_(programming_language)#Features).\n### Setup\n\nClone this repository to your desired folder:\n\n```\n  git clone git@github.com:rabayarabu/OOP-school-library.git\n  cd OOP-school-library\n```\n\n### Install\n\nInstall project dependencies with:\n\n```\n  bundle install\n```\n\n### Usage \u003ca name=\"usage\"\u003e\u003c/a\u003e\n\nTo run the project, instantiate the class files in `main. rb` and execute the following command:\n\n```\n  ruby main.rb\n```\n\n\u003cp align=\"right\"\u003e(\u003ca href=\"#readme-top\"\u003eback to top\u003c/a\u003e)\u003c/p\u003e\n\n\n## 👥 Authors \u003ca name=\"authors\"\u003e\u003c/a\u003e\n\n### 👤 **Habtamu Alemayehu**\n\n- GitHub: [Benawi](https://github.com/Benawi)\n- Linkdin: [Habtamu](https://www.linkedin.com/in/habtamualemayehu/)\n\n### 👤 **Abel Morara**\n\n- GitHub: [@ProgramKingAbel](https://github.com/ProgramKingAbel)\n- Twitter: [@CEOAbel1](https://twitter.com/CEOAbel1)\n- LinkedIn [LinkedIn](https://www.linkedin.com/in/abelmatundamorara-451340250)\n\n### 👤 **Sahalu Aminu**\n\n- GitHub: [@sahlminkok](https://github.com/sahlminkok)\n- Twitter: [@sahlminkok](https://twitter.com/sahlminkok)\n- LinkedIn [sahlminkok](https://linkedin.com/in/sahlminkok)\n\u003cp align=\"right\"\u003e(\u003ca href=\"#readme-top\"\u003eback to top\u003c/a\u003e)\u003c/p\u003e\n\n## 🔭 Future Features \u003ca name=\"future-features\"\u003e\u003c/a\u003e\n- [ ]  Optimize the performance of the system.🚀\n\u003cp align=\"right\"\u003e(\u003ca href=\"#readme-top\"\u003eback to top\u003c/a\u003e)\u003c/p\u003e\n\n## 🤝 Contributing \u003ca name=\"contributing\"\u003e\u003c/a\u003e\n\nContributions, [issues](https://github.com/Benawi/OOP-School-Library/issues), and feature requests are welcome!\n\n\u003cp align=\"right\"\u003e(\u003ca href=\"#readme-top\"\u003eback to top\u003c/a\u003e)\u003c/p\u003e\n\n## ⭐️ Show your support \u003ca name=\"support\"\u003e\u003c/a\u003e\n\nGive me ⭐️ If you like this project!\n\n\u003cp align=\"right\"\u003e(\u003ca href=\"#readme-top\"\u003eback to top\u003c/a\u003e)\u003c/p\u003e\n\n## 🙏 Acknowledgments \u003ca name=\"acknowledgements\"\u003e\u003c/a\u003e\n\n- I  thank the Microverse program for giving us this great chance.\n\n\u003cp align=\"right\"\u003e(\u003ca href=\"#readme-top\"\u003eback to top\u003c/a\u003e)\u003c/p\u003e\n\n## 📝 License \u003ca name=\"license\"\u003e\u003c/a\u003e\n\nThis project is [MIT](./MIT.md) licensed.\n\n\u003cp align=\"right\"\u003e(\u003ca href=\"#readme-top\"\u003eback to top\u003c/a\u003e)\u003c/p\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbenawi%2Foop-school-library","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbenawi%2Foop-school-library","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbenawi%2Foop-school-library/lists"}