- 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
- Book has [id, title, publication date, author, genre, publisher, language]
- LocalReader has [id, name, gender, birthday, height, weight, employment]
- Add a reader
- Remove a reader
- Search for a reader by ID
- Search for a reader by name
- Get all readers info
- Add a book
- Get all books info
- Get all books sorted by title (alphabetically)
- Get all books sorted by publication date
- Search for a book by id
- Search for a book by title
Start the server.go, that is located in sever directory.
go run server.go
Start the client.go, that is located in client directory.
go run client.go
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.
Please ⭐️ this repo and share it with others