Skip to content

Latest commit

 

History

History
68 lines (41 loc) · 1.99 KB

README.md

File metadata and controls

68 lines (41 loc) · 1.99 KB

Library Management System CLI

(HTTP Server) & (CLI Client)

  • The system divided into HTTP Server (RESTful API) and Client (CLI)
  • Librarians use the command-line interface to call the server then make specific operations

Librarians Operations

  • Book has [id, title, publication date, author, genre, publisher, language]
  • LocalReader has [id, name, gender, birthday, height, weight, employment]

Readers Operations 👴🏻:

  1. Add a reader
  2. Remove a reader
  3. Search for a reader by ID
  4. Search for a reader by name
  5. Get all readers info

Books Operations 📚:

  1. Add a book
  2. Get all books info
  3. Get all books sorted by title (alphabetically)
  4. Get all books sorted by publication date
  5. Search for a book by id
  6. Search for a book by title

Requirements

Getting Started

1. Run The Server

Start the server.go, that is located in sever directory.

go run server.go

2. Run The Client (CLI)

Start the client.go, that is located in client directory.

go run client.go

Demo

Library System (HTTP Server) & (CLI Client) | with Source Code

Contributing 💡

If you want to contribute to this project and make it better with new ideas, your pull request is very welcomed. If you find any issue just put it in the repository issue section, thank you.

Thank You!

Please ⭐️ this repo and share it with others

golang-logo

سبحَانَكَ اللَّهُمَّ وَبِحَمْدِكَ، أَشْهَدُ أَنْ لا إِلهَ إِلأَ انْتَ أَسْتَغْفِرُكَ وَأَتْوبُ إِلَيْكَ