Skip to content

seifsapagh/Pharmacy-Management-system

Repository files navigation

Pharmacy-Management-system

Description

a comprehensive web-based pharmacy management system designed to facilitate the workflow for pharmacists. The system enables pharmacists to efficiently manage inventory, search for product, process sales orders, and track all sales transactions.

Technologies Used:

Laravel PHP

Features

  • Inventory Management

    • Add a new product
    • Remove a product
    • Update product information
    • view detailed product page
    • search for a product
  • Order tracking

    • see all transactions
    • search for transactions by id, customer name, customer's phone number
  • Profile Management

  • Staff Management

UI Screenshots

Login Page Home Page
Login Page home Page
Add A New Drug Page Make A Purchase Page
add drug Page purchase Page
All drugs page Profile page
Profile Page Profile Page

Getting Started

Dependencies

Make sure you have PHP 8.1 or higher, Laravel 10.10 or higher, Composer installed

  1. Clone the repository
git clone https://github.com/Sapagh21/Pharmacy-Management-system.git
  1. Navigate to the project's directory
cd .\Pharmacy-Management-system\
  1. Install packages with composer
composer install
  1. Create your database (optional)
    The project's initial database exists in Database/database.sqlite, but you can create a new database if you want.

  2. copy .env from .env.example at the project root directory

cp .env.example ./.env 
  1. Generate app key
php artisan key:generate
  1. Set database connection to your database in the .env file
    Edit the .env file to match your database settings. Below are example settings for using SQLite. Adjust according to your database configuration.
DB_CONNECTION=sqlite
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=database/db.sqlite
DB_USERNAME=root
DB_PASSWORD=
  1. Start the development Server
php artisan serve

If you run through any issues feel free to contanct me ♥