Skip to content

SBAI-Youness/Stock_Management_System

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Stock Management System


App Icon

License Version Language Contributions

Overview

The Stock Management System is a console-based application developed in C for managing inventory efficiently. It provides functionalities for handling product details and storing data persistently in CSV files. Designed with a user-friendly console interface, it simplifies inventory management tasks.

Features

  • User Authentication: Log in with a username to access the application.
  • Product Management:
    • Add new products.
    • Modify existing products.
    • Delete products.
  • Product Listing: View products with details like:
    • Product ID
    • Name
    • Description
    • Username (associated with the product)
    • Unit Price
    • Stock Quantity
    • Stock Alert Threshold
    • Last Stock-In Date
    • Last Stock-Out Date
  • Search & Sort:
    • Search products by name or user.
    • Sort products by name or unit price.
  • Persistent Storage: Save product data in a CSV file for future access.
  • Security Features:
    • Password Hashing with OpenSSL: User passwords are securely salted and hashed before storage to enhance protection against unauthorized access.

    • Brute Force Prevention: Implemented mechanisms to prevent brute force attacks, ensuring the security of user accounts.

    • DDoS Protection: Measures in place to mitigate Distributed Denial of Service attacks, ensuring the availability of the system.

    • Session Management: Secure session handling to prevent session hijacking and fixation.

Technologies Used

  • Programming Language: C
  • Storage: File-based (CSV)
  • Interface: Console

Prerequisites

To run this project, you need to install:

  1. MinGW-w64: C compiler for Windows

  2. OpenSSL: Required for security features

  3. Make: For building the project

After installation, verify everything works by running:

gcc --version
openssl version
make --version
windres --version

How to Build and Run

  1. Clone the repository:
    git clone https://github.com/SBAI-Youness/Stock_Management_System.git
  2. Navigate to the project directory:
    cd ./Stock_Management_System
  3. Build the project:
    make
  4. Navigate to the build directory and run the application:
    cd build
    .\main.exe

License

Stock Management System is released under the MIT License. See the LICENSE file for more details.

About

No description or website provided.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages