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

https://github.com/ghiftee/oop-school-library

This project is a console-based school library app that allows created students and teachers to rent created books. It also gives a list of students, teachers, books and rentals.
https://github.com/ghiftee/oop-school-library

oop ruby

Last synced: about 1 year ago
JSON representation

This project is a console-based school library app that allows created students and teachers to rent created books. It also gives a list of students, teachers, books and rentals.

Awesome Lists containing this project

README

          

![](https://camo.githubusercontent.com/8a4ae3fb98faf74ddf78a6677ceaa6e8872f7f340f569b7c5e1aa9bcc4061d95/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4d6963726f76657273652d626c756576696f6c6574)

# OOP school library

> 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 a you to:

- Add new students or teachers.
- Add new books.
- Save records of who borrowed a given book and when.
> And all of this will be built in a beautiful and well-organized way!

### Milestone 1:

- Create person class.
- Create student class that is a subclass of person class.
- Create teacher class that is a subclass of person class.

### Milestone 2:

- Create corrector class.
- Set instance of corrector in person on initialization.
- Add new method to person that validates name.

### Milestone 3:
- Create Classroom, Book and Rental classes.
- Implement several relationships between classes.

### Milestone 4:
- Create a main.rb file that will serve as your console app entry-point.
- In main.rb define the entry point, which will be a method called main that is invoked at the end of the file.

## Built With

- Ruby

## Getting Started

To get a local copy up and running:

* Clone this repo with:

```bash
git clone https://github.com/Ghiftee/oop-school-library
```

* Navigate to the folder/directory

```bash
cd oop-school-library
```

## Author

👤 **Uwhubetine Gift**

- GitHub: [@Ghiftee](https://github.com/ghiftee)
- Twitter: [@Ghiftee](https://twitter.com/i_ghiftee)
- LinkedIn: [Ghiftee](https://linkedin.com/in/giftuwhubetine)

## 🤝 Contributing

Contributions, issues, and feature requests are welcome!

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

## Show your support

Give a ⭐️ if you like this project!

## 📝 License

This project is [MIT](./MIT.md) licensed.