/OOP-school-library

Discover the OOP School Library, a Ruby-powered app for efficient book and borrower management. Over a week, build classes for students, teachers, and books, create associations, add a simple user interface, refactor code, ensure data persistence, and implement unit tests. A practical example of object-oriented programming in action.

Primary LanguageRubyMIT LicenseMIT

📗 Table of Contents

📖 OOP school library

OOP school library This project focused on building a Ruby school library app. Key achievements include: 1- Implemented three classes: Person, Student, and Teacher. 2- Utilized encapsulation and inheritance principles. 3- Enabled command-line program execution. 4- Followed Ruby best practices for code quality and documentation.

This foundational work sets the stage for future app development and functionality expansion.

🛠 Built With

Tech Stack

Ruby

Key Features

  • [Class Hierarchy: Implemented a hierarchy of classes including Person, Student, and Teacher for modeling individuals in a school setting.]
  • [Encapsulation and Inheritance: Demonstrated mastery of object-oriented principles by encapsulating data and behaviors and using inheritance to share common attributes.]
  • [Command-Line Execution: Enabled the program to be executed directly from the command line, enhancing accessibility and usability.]

💻 Getting Started

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

Prerequisites

In order to run this project you need:

Setup

Clone this repository to your desired folder:

Prerequisites

In order to run this project you need:

  • Install Ruby.
  • Create a repo on your repositores files.
  • Clone or make a copy of this repo on your local machine.
  • Follow GitHub flow.
  • A carefully reading of this README.md is required.

Setup

Clone this repository to your desired folder:

  cd my-folder
  git clone https://github.com/hafiz1379/OOP_school_library

Install

Install this project with:

  bundle install

Usage

To run the project, run the following command:

  ruby test.rb

Run tests

To run tests, run the following command:

rubocop

(back to top)

👥 Authors

👤 Hafizullah Rasa

👨🏼‍🚀 Juan Diego Guerra (JD) 👾

(back to top)

🔭 Future Features

  • [map Method]
  • [reduce Method]
  • [sort Method]

(back to top)

🤝 Contributing

Contributions, issues, and feature requests are welcome!

Feel free to check the issues page.

(back to top)

⭐️ Show your support

If you like this project, star the project if you like it

(back to top)

🙏 Acknowledgments

I would like to thank my mentor and my cod partners for support

(back to top)

📝 License

This project is MIT licensed.

(back to top)