Edit File: README.md
# Project Title : Jood ## Project Description : **The main idea** It is an application to users order food from stores and having delivery. it about to 3 applications 1. store application 2. delegate application 3. user application **Types of users** 1. Users 2. Admin 3. Delegates 4. Stores **Orders** the user can make order for other day and after store accept order delegate can choose to deliver order the delivery price calculated by the distance coupons apply on delivery price only **Payment** for stores The store should choose plan and pay for it to use the app and accept orders **register** 5. [store](https://jood.4hoste.com/stores_dashboard/register) 6. [delegate](https://jood.4hoste.com/delegate_join_request/login) # Install and run project : 1. create empty database 2. change database data in .env file 3. Run commands 1. `composer update` 2. `php artisan migrate --seed` ## Tips for using commands to create new section in dashboard: **command** : `php artisan make:fullsection SectionName arabicSingleName arabicPluralName` - SectionName It must be singular, not plural, and begins with the capital letter - arabicSingleName The name of the section in Arabic singular - arabicPluralName The name of the section in Arabic plural - this command create for you meny files (Controller in Admin Folder , Model in Models folder , DataBase Migrate , Blade Folder in admin folder And Blade File , basic [index - store - update - delete] routes in web.php file for dashboard use ) - you can use **( --seed )** optional with command to create new Seeder for this section - you can use **( --ob )** optional with command to create new Observer for this section - you can use **( --request )** optional with command to create new form request file and folder in Request/Admin for this section - you can use **( --resource )** optional with command to create new resource for this section in Resources/Api Folder ### Example - **for create new section for banks in dashboard run command** `php artisan make:fullsection Bank بنوك بنك --seed --ob --request --resource` **command create new files to use** 1. new Controller (BankController.php) with 4 main functions (index - store - update - delete ) 2. new model (Bank.php) with its database migration 3. new folder (banks) in resources/Admin folder and new blade file (index.blade.php) in this folder contains base structer of file edit it as you need 4. new seeder file (BanksTableSeeder) if you use (--seed) with command 5. new observer file (BankObserver) if you use (--ob) with command 6. new form Request folder (Banks) and request File (Store.php) in Requests/Admin 7. new Resource for Api use in Resources/APi 8. new [show - store - update -delete] routes in web.php to use in dashboard ### Tips For using commands to create section without dashboard section : - **command** : `php artisan make:semisection SectionName` 1. SectionName It must be singular, not plural, and begins with the capital letter 2. this command create for you meny files (New Repository , Interface , Model in Models folder , DataBase Migrate) 3. you can use **( --seed )** optional with command to create new Seeder for this section 4. you can use **( --ob )** optional with command to create new Observer for this section 5. you can use **( --resource )** optional with command to create new resource for this section in Resources/Api Folder ### Example - **for create new section for banks in dashboard run command** `php artisan make:semisection Bank --seed --ob --request --resource` **command create new files to use** 1. new model (Bank.php) with its database migration 2. new seeder file (BanksTableSeeder) if you use (--seed) with command 3. new observer file (BankObserver) if you use (--ob) with command 4. new Resource for Api use in Resources/APi ## Dashboard : 1. components read more about laravel 8 components [here](https://laravel.com/docs/8.x/blade#components) - (x-admin.breadcrumb) 2. scripts - The following file contains a set of functions that facilitate working with graphs (admin/charts_functions.js) 3. home page cards - all home page cards included in (app/traits/menu) file 4. home page weather widget - You can control the country, colors, size, number of days and type of icons from the following link and copy your code and replace it on the home page [here](https://weatherwidget.io/) ## Dashboard scripts - The following file contains a set of functions that facilitate working with graphs (admin/charts_functions.js) ## home page cards - all home page cards included in (app/traits/menu) file ## home page weather widget - You can control the country, colors, size, number of days and type of icons from the following link and copy your code and replace it on the home page [here](https://weatherwidget.io/) # Chat : **Php** 1. .env file add (app_url, node_host, node_port, NODE_MODE(**Local: ** test , **Live: ** live)) **Node** 1. node server folder (run command : `npm install`) 2. (run command : `node app.js` or `npm start`) ## To run project run two terminals together : - In node server folder run (`npm start`) - In root folder run (`php artisan serve`) # To use dashboard : ``` email : aait@info.com password : 123456 ``` ## Team members : 1. **Backend** - Aya Ahmed 2. **ios** -abdullah tarek 3. **android** -mohamed ibrahem 4. **Testing** - ## Links for development : 1. [Publish](https://documenter.getpostman.com/view/17756479/Uze1wQ8Q) 2. [user_maravel](https://xd.adobe.com/view/79bdd3b7-ffd9-42a5-9d9e-a7dde0b4ea7f-2cee/?fullscreen&fbclid=IwAR2f8CYYCRxUQCXLkB3RTzSWL9dIQJ7qivNW5LJFQtJ8BWM80vZoDNokcPs) 3. [delegate_maravel](https://xd.adobe.com/view/08217426-2906-4b45-9836-d2702a49bb3f-5d72/?fbclid=IwAR0A72u9hW3xNud7VQh6LcayNbc3s9tH-8LWxn8VxbtEiPXZGBp0zJZBaBc&fullscreen) 4. [store_maravel](https://xd.adobe.com/view/4e41702e-196e-4661-9701-f4fcd42ba529-1b12/?fbclid=IwAR1rlQ0cQ6l4fzPN9ZOklpwqZ35CyObUefQSRxKhfQ5MNvoy1ch2E1AGxpg&fullscreen) 5. [Test_file]() ## Links for project : 1. [Dashboard](https://jood.4hoste.com/admin/login) 2. []() ## Third party (Sms && Google Key Data) : 1. 2. Google Key - ## Image : 
Back to File Manager