Bookery is a bookshop management system implemented in C. It provides functionality to manage book inventory, sales, and rentals, with a focus on speed, security, and user-friendliness.
- Add, update, and delete books from inventory
- Display all books or search for specific books by title, author, or genre
- Sell books to customers and update sales records
- Rent books to customers, manage rental records, and calculate rental fees
- Generate sales and rental reports
- User authentication with role-based access control
git clone https://github.com/martian58/bookery.git
cd bookery
- Install the SQLite development library:
sudo apt-get install libsqlite3-dev
- Install the OpenSSL development library:
sudo apt-get install libssl-dev
- Install SQLite using Homebrew:
brew install sqlite
- Install OpenSSL using Homebrew:
brew install openssl
- Windows Os is not supported and not recommended.
Compile the code using GCC:
gcc bookery.c -o bookery -lsqlite3 -lssl -lm -lcrypto
Note: Compiled executable present in the repository is for debian based linux distrobutions.
- Run the compiled executable:
./bookery
-
Follow the on-screen instructions to use the system.
-
Advanced CLI commands can be obtained by running "help" command.
- Username: admin
- Password: admin
- Username: mehdi
- Password: mehdi
- Alizada Fuad
- Mehdi Hasanli
- Toghrul Abdullazada
- Tural Gadirov
- Ilham Bakhishov