Skip to content
elaraby3705Public

About

This is an Org for SE and Web Developments projects, happy to have you all aboard

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 

Repository files navigation

.github

PharmaSync - A Smart Inventory & Order Management System

📌 Overview

PharmaSync is a web application designed to streamline inventory and order management for pharmacies and wholesalers across Egypt. The platform provides a centralized hub where pharmacies can check real-time stock availability, place orders from multiple suppliers, and ensure timely delivery.

🎯 Objectives

  • Reduce Medicine Waste: Prevent financial loss due to expired medications by redistributing stock to areas with higher demand.
  • Centralized Inventory: Aggregate stock data from multiple pharmacies and wholesalers.
  • Smart Order Routing: Automatically suggest alternative suppliers if an item is out of stock.
  • AI-Powered Chatbot: Assist users with queries and automate order tracking.
  • Machine Learning Integration: Optimize stock predictions and demand forecasting.
  • Intelligent Notifications: Alert users about expiring medicines, stock shortages, and demand surges.
  • Supplier & Pharmacy Rating System: Enable pharmacies to rate suppliers based on delivery speed and product quality.
  • Flexible Payment Methods: Support for online payments, digital wallets, and invoicing.
  • Secure and Scalable Architecture: Built using Django (or Spring Boot) with MySQL.
  • Agile Development: Collaboration using Git Workflow and Gherkin for behavior-driven development (BDD).

🏗️ Tech Stack

  • Backend: Django / Spring Boot (TBD)
  • Frontend: React.js / Next.js (TBD)
  • Database: MySQL
  • AI & ML: TensorFlow / Scikit-learn for demand forecasting
  • Authentication: JWT / OAuth2
  • Deployment: Docker + Kubernetes (Future Scope)
  • CI/CD: GitHub Actions

🚀 Getting Started

1️⃣ Clone the Repository

git clone https://github.com/your-username/pharma-sync.git
cd pharma-sync

2️⃣ Setup Virtual Environment & Install Dependencies (Django)

python -m venv venv
source venv/bin/activate  # On Windows use `venv\Scripts\activate`
pip install -r requirements.txt

3️⃣ Database Migration

python manage.py migrate

4️⃣ Run the Server

python manage.py runserver

🧩 Project Structure

pharma-sync/
│-- backend/          # Django/Spring Boot Backend
│-- frontend/         # React/Next.js Frontend
│-- database/         # MySQL Schema & Migrations
│-- docs/             # API Documentation
│-- tests/            # Unit & Integration Tests
│-- .github/          # CI/CD Workflows
│-- README.md         # Project Overview

🌍 Contribution Guidelines

🏗 Git Workflow

We follow Agile Development using feature branches:

  1. Fork the repository
  2. Create a new branch feature/your-feature
  3. Commit changes with meaningful messages
  4. Open a Pull Request (PR) and request review

📝 Using Gherkin for BDD

Example scenario for placing an order:

Feature: Order Placement
  Scenario: Successful order by a pharmacy
    Given a pharmacy has an active account
    And the requested medicine is in stock
    When the pharmacy places an order
    Then the system confirms the order
    And the order is assigned to a supplier for delivery

💬 Join the Discussion

We welcome contributors to help improve PharmaSync! Feel free to open issues, suggest features, or report bugs.

🔗 Join the Discussion

About

This is an Org for SE and Web Developments projects, happy to have you all aboard

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors