MusheAbdulHakim / Pharmacy-management-system

A complete pharmacy management system with Laravel 8 for small businesses.
https://doccure.musheabdulhakim.dev/
113 stars 62 forks source link
admin-dashboard laravel laravel8 pharmacy pharmacy-management pharmacy-management-system php

Complete pharmacy management system

Features

  1. Products
  2. Product categories
  3. Purchases
  4. Sales
  5. Supplier
  6. Reports
  7. Access Control (roles and permissions)
  8. Users
  9. User Profile
  10. Settings (Application settings)
  11. Application backup
  12. Dashboard
  13. Stock notifications

Installation

Follow these steps to install the application.

  1. Clone the Repository
    git clone https://github.com/MusheAbdulHakim/Pharmacy-management-system.git
  2. Go to project directory
cd Pharmacy-management-system
  1. Install packages with composer
composer install
  1. Install npm packages with

    npm install; npm run dev
  2. Create your database

  3. Rename .env.example to .env Or copy it and paste at project root directory and name the file .env.You can also use this command.

cp .env.example ./.env
  1. Generate app key with this command

    php artisan key:generate
  2. Set database connection to your database in the .env file.

DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=doccure
DB_USERNAME=root
DB_PASSWORD=
  1. Import full database sql file in the database folder, or run migrations Use this command to run migrations
php artisan migrate --seed
  1. Start the local server and browser to your app. This command will start the development server

    php artisan serve
  2. Open the address in the terminal in your browser.Usually address is usually like this:

    http://127.0.0.1:8000
  3. Enjoy and make sure to star the repo :).Report bugs,features and also send your pull requests.

admin login credentials

 email: admin@admin.com
 password: admin

Theme: https://themeforest.net/item/doccure-doctor-appointment-booking-system-bootstrap-angular-template/28201296

Usage

How to add product and sell It

1 First add the category of product

2 Add the product supplier

  1. Make a purchase of the product by adding purchase.

  2. After purchase is made, add the product to your products.

  3. You can start selling the product.

  4. When you are notified of the stock, just update the purchased product quantity. Or make a new purchase.

ScreenShot

Dashboard

Profile

@@ -242,6 +44,9 @@ We would like to extend our thanks to the following sponsors for funding Laravel - **[DevSquad](https://devsquad.com)** - **[Curotec](https://www.curotec.com/services/technologies/laravel/)** - **[OP.GG](https://op.gg)** - **[CMS Max](https://www.cmsmax.com/)** - **[WebReinvent](https://webreinvent.com/?utm_source=laravel&utm_medium=github&utm_campaign=patreon-sponsors)** - **[Lendio](https://lendio.com)** ## Contributing Thank you for considering contributing to the Laravel framework! The contribution guide can be found in the [Laravel documentation](https://laravel.com/docs/contributions). ## Code of Conduct In order to ensure that the Laravel community is welcoming to all, please review and abide by the [Code of Conduct](https://laravel.com/docs/contributions#code-of-conduct). ## Security Vulnerabilities If you discover a security vulnerability within Laravel, please send an e-mail to Taylor Otwell via [taylor@laravel.com](mailto:taylor@laravel.com). All security vulnerabilities will be promptly addressed. ## License The Laravel framework is open-sourced software licensed under the [MIT license](https://opensource.org/licenses/MIT).