Giter Club home page Giter Club logo

muhammadobadaa / medhub-backend Goto Github PK

View Code? Open in Web Editor NEW
4.0 3.0 2.0 732 KB

Back-end system to handle orders between pharmacists and a warehouse owner with Laravel 10

Home Page: https://youtu.be/07ZZxJ32XUg

License: MIT License

PHP 78.65% JavaScript 0.13% Blade 19.00% PowerShell 1.32% CSS 0.90%
dompdf firebase-notification laravel-framework mysql php laravel laravel10 php8 api authentication authorization medicine-management open-source pdf restful-api search security favorite mvc-pattern

medhub-backend's Introduction

MedHub-Backend


About:

A backend system to handle orders between pharmacists and a warehouse owner and provide statistics and charts for both built with Laravel 10

The frontend side project: Web application for warehouse owner, Mobile application for pharmacists

By:

Muhammad Obadaa Almasri

Muhammad Yassen

Abdalrahman Alhamod


Features:

  • Order management: pharmacists can create, view and update. Admin can view, accept, or reject orders.

  • Medicine management: admin can create, view, update, and delete medicines. Pharmacists can view medicines and their details.

  • Statistics: the system provides many statistics and charts for both admin and pharmacists.

  • Reports: the system generates PDF reports for orders and medicines, which can be downloaded by the admin and pharmacists.

  • Notifications: the system uses Firebase to push notifications to the pharmacists when their orders are accepted or rejected by the admin. and to the admin once a new order created.

Technologies and packages:

  • php (Laravel)
  • MySQL
  • Laravel blade
  • Firebase
  • DomPdf

Entity Relationship Diagram:

ERD image


Installation :

To install the project, Make sure that php, composer and mysql are installed then follow these steps:

  1. Clone this repository :

    git clone https://github.com/MuhammdObadaa/MedHub-Backend.
  1. Go to the project directory :

    cd MedHub-Backend
  1. Install the dependencies and prepare the project:

    make sure that gd extension in php.ini is enabled by removing ; in the first of line ;extension=gd. then:
    composer install
    cp .env.example .env
    php artisan key:generate
    composer require barryvdh/laravel-dompdf
    php artisan migrate
  1. Set .env file and add your MySQL and Firebase credentials

  2. Run the schedule and Start the serve:

    php artisan schedule:run
    php artisan serve

Once you log in, you can access the features of the system according to your role. You can use Postman to test the API endpoints. or use the frontend projects mentioned above.


Contributing:

If you want to contribute to this project, you can fork this repository and make a pull request. You can also open an issue if you find any bugs or have any suggestions.

License:

This project is licensed under the MIT License. See the LICENSE file for more details.

medhub-backend's People

Contributors

abdalrahman-alhamod avatar mhdya9 avatar muhammadobadaa avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.