https://github.com/haimozer123/order-status-management-system
Computerized order status system with both customer and employee portals, implementation using C for backend logic and Python for the web interface.
https://github.com/haimozer123/order-status-management-system
c-language data-base html http-server python real-time-synchronization
Last synced: 5 months ago
JSON representation
Computerized order status system with both customer and employee portals, implementation using C for backend logic and Python for the web interface.
- Host: GitHub
- URL: https://github.com/haimozer123/order-status-management-system
- Owner: HaimOzer123
- Created: 2024-08-29T09:22:16.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-09-07T05:59:17.000Z (about 1 year ago)
- Last Synced: 2025-03-17T20:21:20.000Z (7 months ago)
- Topics: c-language, data-base, html, http-server, python, real-time-synchronization
- Language: C
- Homepage:
- Size: 5.08 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Haim Ozer
Order Status Management System
---------------------------------------------------------## Description
This project implements a computerized order status management system, providing both customer and employee portals. The backend logic is built using C, ensuring high performance and efficient handling of order statuses, while the web interface is developed using Python and Flask. Customers can check the status of their orders, and employees can update the status at each stage of the process, from drawing to shipping.
-----------------------------------------------------## run the script
step 1: compile the C code
Navigate to the src/ directory and compile the C code into a shared library:gcc -shared -o order_status.dll -fPIC order_status.c
step 2: Set Up Python Environment
Install Flask in your virtual environment:pip install flask
Step 3: Run the Flask App
Ensure you are in the python/ directory and run the Flask app:python app.py
Step 4: Access the Web Application
you can access the application using a web browser:Customer Portal: http://127.0.0.1:5000/customer
Employee Portal: http://127.0.0.1:5000/employee
----------------------------------------------------------------## Project Screenshots
Here are some screenshots of the application:- [Screenshot 1](https://drive.google.com/file/d/1S-4Hm0_N4YQVRjPVfZNqKjg2703AWLvq/view?usp=sharing)
- [Screenshot 2](https://drive.google.com/file/d/1NcwJhst7dhArs0Pg2oVplvkdRkvm6eiL/view?usp=sharing)### Key Points:
- **GCC Commands:** The README includes the specific GCC command to compile the C code on Windows.
- **Python Setup:** Instructions for setting up the Python environment and installing Flask are provided.
- **Running the App:** Clear steps on how to run the Flask app and access it via a web browser are included.