Skip to content

Latest commit

 

History

History
92 lines (61 loc) · 1.72 KB

README.md

File metadata and controls

92 lines (61 loc) · 1.72 KB

Bookery - Bookshop Management System

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.

Features

  • 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

Installation

Clone the repository

git clone https://github.com/martian58/bookery.git

cd bookery

Linux

  1. Install the SQLite development library:
sudo apt-get install libsqlite3-dev
  1. Install the OpenSSL development library:
sudo apt-get install libssl-dev

Mac OS

  1. Install SQLite using Homebrew:
brew install sqlite
  1. Install OpenSSL using Homebrew:
brew install openssl

Windows

  1. Windows Os is not supported and not recommended.

Compilation

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.

Usage

  1. Run the compiled executable:
./bookery
  1. Follow the on-screen instructions to use the system.

  2. Advanced CLI commands can be obtained by running "help" command.

Default Credentials

Admin Account

  • Username: admin
  • Password: admin

User Account

  • Username: mehdi
  • Password: mehdi

Contributors

  • Alizada Fuad
  • Mehdi Hasanli
  • Toghrul Abdullazada
  • Tural Gadirov
  • Ilham Bakhishov