CY-biblioTECH

A program to automatically manage the book stock of a university library !

Table of contents

Using CY-biblioTECH

Clone the repository

Create your local clone of the CY-biblioTECH repository by typing :

git clone https://github.com/melvinhqb/CY-biblioTECH.git

Compile CY-biblioTECH

Compile all the files needed to run the program by typing :

make all

or

make

Run CY-biblioTECH

Run the compiled program by typing :

./exec

Show all the Makefile’s functions

More information about secondary commands by typing :

make help

Program features

Account creation

The account creation function requires a non-existent user name and a secure password.

Account creation

Account connection

The function of connection to an account requires to give a username and a password registered in the database.

Account connection

Book reservetion

The book reservation function requires that there are no delays in returning a book. Do a book search (2 or 3 letters are sometimes enough) and select the type of sorting. Finally, simply enter the number of the book you wish to return.

Book reservetion

Book return

The book return function requires that you have reserved at least one book. Simply enter the number of the book you wish to return.

Book return

Adding books

The add book function requires you to enter the title of the book, the author’s name, the genre of the book and its identifier such as its ISBN.

Adding books

Deleting books

The book deletion function requires at least one copy of the book to be deleted. The book is not actually deleted from the database but the stock counter is set to zero.

Deleting books

Storage of books (in books.txt)

The books data are stock in the books.txt file by :

  • Title
  • Author
  • Identifiant (ISBN)
  • Book’s type
  • Current stock

Storage of books

Storage of users (in users.txt)

The users data are stock in the books.txt file by :

  • Login
  • Encoded Password
  • Role (Student or Teacher)
  • Book 1
    • Book ID
    • Time (in timestamp)
  • Book N
    • Book ID
    • Time (in timestamp)

Storage of users

Authors