https://github.com/shafiuyushawu/school-liabrary
OOP school library is university libray tool that records what books are in the library and who borrows them. The app allows users to add new students or teachers, add new books, save records of who borrowed a given book and when.
https://github.com/shafiuyushawu/school-liabrary
classes-and-inheritance classes-and-objects composition inheretence oop-principles polymorphism rspec-testing ruby ruby-oop
Last synced: about 1 year ago
JSON representation
OOP school library is university libray tool that records what books are in the library and who borrows them. The app allows users to add new students or teachers, add new books, save records of who borrowed a given book and when.
- Host: GitHub
- URL: https://github.com/shafiuyushawu/school-liabrary
- Owner: shafiuyushawu
- License: mit
- Created: 2023-05-15T16:36:38.000Z (about 3 years ago)
- Default Branch: dev
- Last Pushed: 2023-05-25T08:45:01.000Z (about 3 years ago)
- Last Synced: 2025-02-03T09:17:22.457Z (over 1 year ago)
- Topics: classes-and-inheritance, classes-and-objects, composition, inheretence, oop-principles, polymorphism, rspec-testing, ruby, ruby-oop
- Language: Ruby
- Homepage:
- Size: 40 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: License
Awesome Lists containing this project
README
School Library
# πTable of Contents
- [π School-Library](#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)
- [π Future Features](#future-features)
- [π€ Contributing](#contributing)
- [βοΈ Show your support](#support)
- [π Acknowledgements](#acknowledgements)
- [π License](#license)
This is a ruby program that uses Object Oriented Program approach to create class `Person` with attributes and its sub classes `Teacher` and `Student` that inherents the objects of the class `Person`.
- **Ruby**
### Key Features
- Person class
- Student class
- Teacher class
## Getting Started
To get a local copy up and running follow these simple example steps.
### Prerequisites
> You need the following tools be installed in your computer:
> - [Git](https://www.linode.com/docs/guides/how-to-install-git-on-linux-mac-and-windows/)
> - [Ruby](https://github.com/microverseinc/curriculum-ruby/blob/main/simple-ruby/articles/ruby_installation_instructions.md)
> - IDE
> - Etc
### Setup
Clone this repository to your desired folder:
```sh
cd my-prefered-folder
git clone https://github.com/shafiuyushawu/school-liabrary.git
```
### Install
Install this project with:
```sh
cd school-liabrary
bundle install
```
### Usage
To run the project, execute the following command:
```sh
ruby main.rb
```
### Run tests
To run tests, run the following command:
```sh
rspec spec/
```
π€ **Shafiu Ibn Yushawu**
- GitHub: [@shafiuyushawu](https://github.com/shafiuyushawu)
- Twitter: [@shafiuyushawu](https://twitter.com/shafiuyushawu)
- LinkedIn: [shafiuyushawu](https://linkedin.com/in/shafiuyushawu)
π€ **Nicholas Kwamena Amissah**
- GitHub: [Nicholas Amissah](https://github.com/atok624)
- Twitter: [Nicholas Amissah](https://twitter.com/MysticalAmissah)
- LinkedIn: [Nicholas Amissah](https://www.linkedin.com/in/nicholas-amissah-153b09154)
- **[Prepare base Decorator]**
- **Turn Person class to Nameable]**
- **[Prepare CapitalizeDecorator and TrimmerDecorator]**
Contributions, issues, and feature requests are welcome!
Feel free to check the [issues page](https://github.com/shafiuyushawu/school-liabrary/issues).
Give a β if you like this project!
* Thanks to the Microverse team for the great curriculum.
This project is [MIT](./License) licensed.