- Clone this repository to your local/server
- Do your local enviroment setup (depend on your local OS)
- Run following command in local repository path
composer install
- Run following command in local repository path
npm install && npm run dev
- Set your database info in
.env
file. - Run following command in local repository path
php artisan migrate --seed
- login with following credentials
Email: admin@admin.com
Password: password
We're using Pusher
for real time notifications,
- Make sure your
BROADCAST_DRIVER
in.env
file is set topusher
- Set your pusher data in
.env
file
PUSHER_APP_ID=
PUSHER_APP_KEY=
PUSHER_APP_SECRET=
PUSHER_APP_CLUSTER=mt1
-
All functionalities are
Ajax
base so beside several acts such as login or switching between pages the rest are happening real time with no refreshing. -
Editing data are inline just click on each number or provider and change your data (changes are instantly)
-
This app is for education and testing purpose only, there are some works that could be done in different ways such as:
- Using livewire instead of jQuery/JavaScript (not recommended for big scale projects)
- Using VueJs instead of blades (for this project as it is for study purpose only it wasn't justified to go through whole VueJs implementation)
- Using Socket.io instead of Pusher (cost effective talking!)