├── .editorconfig ├── .env.example ├── .gitattributes ├── .gitignore ├── .htaccess ├── .styleci.yml ├── app ├── Console │ └── Kernel.php ├── Exceptions │ └── Handler.php ├── Http │ ├── Controllers │ │ ├── Admin │ │ │ ├── LinksController.php │ │ │ ├── Order_Status_Controller.php │ │ │ ├── ProductController.php │ │ │ └── UserController.php │ │ ├── Auth │ │ │ ├── ForgotPasswordController.php │ │ │ ├── LoginController.php │ │ │ ├── RegisterController.php │ │ │ ├── ResetPasswordController.php │ │ │ └── VerificationController.php │ │ ├── Controller.php │ │ ├── HomeController.php │ │ ├── Order_Status_Controller.php │ │ ├── Product_Ordering_Controller │ │ │ ├── CartController.php │ │ │ ├── FrontEndController.php │ │ │ ├── booking.php │ │ │ └── payment.php │ │ └── UserController.php │ ├── Kernel.php │ └── Middleware │ │ ├── AdminMiddleWare.php │ │ ├── Authenticate.php │ │ ├── CheckForMaintenanceMode.php │ │ ├── EncryptCookies.php │ │ ├── RedirectIfAuthenticated.php │ │ ├── TrimStrings.php │ │ ├── TrustProxies.php │ │ ├── VerifyCsrfMiddleware.php │ │ └── VerifyCsrfToken.php ├── Models │ ├── Coupen_Code.php │ ├── NewsLetter.php │ ├── Order.php │ ├── Products.php │ └── Transaction.php ├── Providers │ ├── AppServiceProvider.php │ ├── AuthServiceProvider.php │ ├── BroadcastServiceProvider.php │ ├── EventServiceProvider.php │ └── RouteServiceProvider.php └── User.php ├── artisan ├── bootstrap ├── app.php └── cache │ └── .gitignore ├── composer.json ├── composer.lock ├── config ├── app.php ├── auth.php ├── broadcasting.php ├── cache.php ├── database.php ├── filesystems.php ├── hashing.php ├── indipay.php ├── logging.php ├── mail.php ├── queue.php ├── services.php ├── session.php └── view.php ├── database ├── .gitignore ├── factories │ └── UserFactory.php ├── migrations │ ├── 2014_10_12_000000_create_users_table.php │ ├── 2014_10_12_100000_create_password_resets_table.php │ ├── 2021_02_20_194346_create_products_table.php │ ├── 2021_02_26_165458_create_orders_table.php │ ├── 2021_03_05_064539_create_coupencodes_table.php │ ├── 2021_03_05_113739_create_transactions_table.php │ └── 2021_11_04_162451_create_newsletter_table.php └── seeds │ └── DatabaseSeeder.php ├── default.php ├── index.php ├── package.json ├── phpunit.xml ├── public ├── .htaccess ├── Img │ ├── 4004.png │ ├── 401.png │ ├── 419.png │ ├── 500.png │ ├── About │ │ ├── 1.jpg │ │ └── 2.jpg │ ├── Gallary │ │ ├── 1.jpg │ │ └── 2.jpg │ ├── about.png │ └── admin_image.png ├── Uploads │ ├── Products │ │ ├── -1-.jpg │ │ ├── Containers-1-.jpg │ │ ├── Dusbin-1-.jpg │ │ ├── Flowers-Fruits-Basket-Set-1-.jpg │ │ └── Mat-1-.jpg │ └── profiles │ │ ├── 1614976020.jpg │ │ ├── 1615054851.jpg │ │ ├── 1615442951.png │ │ ├── 1615444818.pptx │ │ ├── 1620152901.png │ │ └── 1636046011.jpg ├── assets │ ├── css │ │ ├── background.jpg │ │ ├── startup.jpg │ │ ├── style.css │ │ └── xzoom.css │ ├── img │ │ ├── Logo-Square.webp │ │ ├── Logo.jpg │ │ ├── Logo.webp │ │ ├── team │ │ │ └── rahul.jpg │ │ └── testimonials │ │ │ ├── rahul.jpg │ │ │ └── sandeep.jpg │ ├── js │ │ ├── main.js │ │ ├── srcforimagezoomingeffects.min.js │ │ └── xzoom.min.js │ └── vendor │ │ └── owl.carousel │ │ ├── LICENSE │ │ ├── README.md │ │ ├── assets │ │ ├── ajax-loader.gif │ │ ├── owl.carousel.css │ │ ├── owl.carousel.min.css │ │ ├── owl.theme.default.css │ │ ├── owl.theme.default.min.css │ │ ├── owl.theme.green.css │ │ ├── owl.theme.green.min.css │ │ └── owl.video.play.png │ │ ├── owl.carousel.js │ │ └── owl.carousel.min.js ├── css │ ├── app.css │ ├── buttons.css │ ├── main.css │ ├── responsivecode.css │ ├── richtext.min.css │ └── sidebar.css ├── favicon.ico ├── index.php ├── js │ ├── app.js │ ├── cart.js │ ├── jquery.richtext.js │ ├── jquery.richtext.min.js │ └── main.js ├── slideshow │ ├── Mobile │ │ ├── 1.webp │ │ ├── 2.webp │ │ ├── 3.webp │ │ └── 4.webp │ ├── slide1-1.png │ ├── slide1-2.png │ ├── slide2-1.png │ ├── slide2-2.png │ ├── slide3-1.png │ └── slide3-2.png ├── sql │ ├── products.sql │ └── users.sql └── web.config ├── readme.md ├── resources ├── js │ ├── app.js │ ├── bootstrap.js │ └── components │ │ └── ExampleComponent.vue ├── lang │ └── en │ │ ├── auth.php │ │ ├── pagination.php │ │ ├── passwords.php │ │ └── validation.php ├── sass │ ├── _variables.scss │ └── app.scss └── views │ ├── Contact.blade.php │ ├── FAQS.blade.php │ ├── Help.blade.php │ ├── Product-Order-Screens │ ├── Cart.blade.php │ ├── Product_Page.blade.php │ ├── Shipping_Payment_Screen.blade.php │ ├── checkout.blade.php │ └── response.blade.php │ ├── Reusable_components │ ├── admin │ │ ├── footer.blade.php │ │ └── header.blade.php │ └── user │ │ ├── footer.blade.php │ │ └── header.blade.php │ ├── S_AND_R.blade.php │ ├── TermsandConditions.blade.php │ ├── about.blade.php │ ├── auth │ ├── login.blade.php │ ├── passwords │ │ ├── email.blade.php │ │ └── reset.blade.php │ ├── register.blade.php │ └── verify.blade.php │ ├── components │ ├── admin │ │ ├── mytransactionsindesktopmode.blade.php │ │ ├── mytransactionsinmobilemode.blade.php │ │ ├── ordersindesktopmode.blade.php │ │ ├── ordersinmobilemode.blade.php │ │ └── orderstatus.blade.php │ ├── cartindesktopmode.blade.php │ ├── cartinmobilemode.blade.php │ ├── desktopslideshow.blade.php │ ├── mobileslideshow.blade.php │ ├── teamindesktopmode.blade.php │ ├── teaminmobilemode.blade.php │ ├── testimonialsdesktopmode.blade.php │ ├── testimonialsmobilemode.blade.php │ └── user │ │ ├── mytransactionsindesktopmode.blade.php │ │ ├── mytransactionsinmobilemode.blade.php │ │ ├── ordersindesktopmode.blade.php │ │ ├── ordersinmobilemode.blade.php │ │ └── orderstatus.blade.php │ ├── dashboards │ ├── admin │ │ ├── NewsLetter.blade.php │ │ ├── Products │ │ │ ├── add.blade.php │ │ │ ├── bin.blade.php │ │ │ ├── edit.blade.php │ │ │ └── index.blade.php │ │ ├── Transactions.blade.php │ │ ├── edituserrole.blade.php │ │ ├── index.blade.php │ │ ├── orders.blade.php │ │ ├── users.blade.php │ │ └── usersrecyclebin.blade.php │ └── user │ │ ├── index.blade.php │ │ ├── orders.blade.php │ │ ├── profile.blade.php │ │ └── transactions.blade.php │ ├── emails │ └── order_email.blade.php │ ├── errors │ ├── 401.blade.php │ ├── 403.blade.php │ ├── 404.blade.php │ ├── 419.blade.php │ ├── 429.blade.php │ ├── 500.blade.php │ ├── 503.blade.php │ ├── illustrated-layout.blade.php │ ├── layout.blade.php │ └── minimal.blade.php │ ├── home.blade.php │ ├── layout.blade.php │ ├── layouts │ ├── admin.blade.php │ └── app.blade.php │ └── welcome.blade.php ├── routes ├── api.php ├── channels.php ├── console.php └── web.php ├── server.php ├── storage ├── app │ ├── .gitignore │ └── public │ │ └── .gitignore ├── framework │ ├── .gitignore │ ├── cache │ │ ├── .gitignore │ │ └── data │ │ │ └── .gitignore │ ├── sessions │ │ └── .gitignore │ ├── testing │ │ └── .gitignore │ └── views │ │ └── .gitignore └── logs │ └── .gitignore ├── tests ├── CreatesApplication.php ├── Feature │ └── ExampleTest.php ├── TestCase.php └── Unit │ └── ExampleTest.php └── webpack.mix.js /.editorconfig: -------------------------------------------------------------------------------- 1 | root = true 2 | 3 | [*] 4 | charset = utf-8 5 | end_of_line = lf 6 | insert_final_newline = true 7 | indent_style = space 8 | indent_size = 4 9 | trim_trailing_whitespace = true 10 | 11 | [*.md] 12 | trim_trailing_whitespace = false 13 | 14 | [*.yml] 15 | indent_size = 2 16 | -------------------------------------------------------------------------------- /.env.example: -------------------------------------------------------------------------------- 1 | APP_NAME=Gainaloe 2 | APP_ENV=local 3 | APP_KEY=3e065ce45d564fff89598e5bdea753e2 4 | APP_DEBUG=true 5 | APP_URL=http://127.0.0.1:8000 6 | 7 | LOG_CHANNEL=stack 8 | 9 | DB_CONNECTION=mysql 10 | DB_HOST=127.0.0.1 11 | DB_PORT=3306 12 | DB_DATABASE=gainaloe 13 | DB_USERNAME=root 14 | DB_PASSWORD= 15 | 16 | BROADCAST_DRIVER=log 17 | CACHE_DRIVER=file 18 | QUEUE_CONNECTION=sync 19 | SESSION_DRIVER=file 20 | SESSION_LIFETIME=120 21 | 22 | REDIS_HOST=127.0.0.1 23 | REDIS_PASSWORD=null 24 | REDIS_PORT=6379 25 | 26 | MAIL_DRIVER=smtp 27 | MAIL_HOST= 28 | MAIL_PORT=587 29 | MAIL_USERNAME= 30 | MAIL_PASSWORD= 31 | MAIL_ENCRYPTION=tls 32 | 33 | 34 | AWS_ACCESS_KEY_ID= 35 | AWS_SECRET_ACCESS_KEY= 36 | AWS_DEFAULT_REGION=us-east-1 37 | AWS_BUCKET= 38 | 39 | PUSHER_APP_ID= 40 | PUSHER_APP_KEY=3e065ce45d564fff89598e5bdea753e2 41 | PUSHER_APP_SECRET= 42 | PUSHER_APP_CLUSTER=mt1 43 | 44 | MIX_PUSHER_APP_KEY=3e065ce45d564fff89598e5bdea753e2 45 | MIX_PUSHER_APP_CLUSTER="${PUSHER_APP_CLUSTER}" 46 | -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- 1 | * text=auto 2 | *.css linguist-vendored 3 | *.scss linguist-vendored 4 | *.js linguist-vendored 5 | CHANGELOG.md export-ignore 6 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | /node_modules 2 | /public/hot 3 | /public/storage 4 | /storage/*.key 5 | /vendor 6 | .env 7 | .env.backup 8 | .phpunit.result.cache 9 | Homestead.json 10 | Homestead.yaml 11 | npm-debug.log 12 | yarn-error.log 13 | -------------------------------------------------------------------------------- /.htaccess: -------------------------------------------------------------------------------- 1 | Options +SymLinksIfOwnerMatch 2 | RewriteEngine On 3 | RewriteRule ^ index.php [L] 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /.styleci.yml: -------------------------------------------------------------------------------- 1 | php: 2 | preset: laravel 3 | disabled: 4 | - unused_use 5 | finder: 6 | not-name: 7 | - index.php 8 | - server.php 9 | js: 10 | finder: 11 | not-name: 12 | - webpack.mix.js 13 | css: true 14 | -------------------------------------------------------------------------------- /app/Console/Kernel.php: -------------------------------------------------------------------------------- 1 | command('inspire') 28 | // ->hourly(); 29 | } 30 | 31 | /** 32 | * Register the commands for the application. 33 | * 34 | * @return void 35 | */ 36 | protected function commands() 37 | { 38 | $this->load(__DIR__.'/Commands'); 39 | 40 | require base_path('routes/console.php'); 41 | } 42 | } 43 | -------------------------------------------------------------------------------- /app/Exceptions/Handler.php: -------------------------------------------------------------------------------- 1 | paginate(10); 22 | return view('dashboards.admin.users')->with('users', $users); 23 | } 24 | public function show_user_role_edit_view($id) 25 | { 26 | $userroles=User::find($id); 27 | return view('dashboards.admin.edituserrole')->with('userroles', $userroles); 28 | } 29 | public function recycleusers() 30 | { 31 | $users=User::where('status','=','2')->paginate(10); 32 | return view('dashboards.admin.usersrecyclebin')->with('users', $users); 33 | } 34 | public function products() 35 | { 36 | $Products=Products::where('status','!=','2')->paginate(5); 37 | return view('dashboards.admin.Products.index')->with('Products', $Products); 38 | } 39 | public function show_add_product_screen() 40 | { 41 | return view('dashboards.admin.Products.add'); 42 | 43 | } 44 | public function ShowEditingScreen($id) 45 | { 46 | $Products = Products::find($id); 47 | 48 | return view("dashboards.admin.Products.edit")->with('Products',$Products); 49 | } 50 | public function recycleproducts() 51 | { 52 | $Products=Products::where('status','=','2')->paginate(10); 53 | return view('dashboards.admin.Products.bin')->with('Products', $Products); 54 | } 55 | 56 | public function showorders() 57 | { 58 | return view('dashboards.admin.orders'); 59 | } 60 | public function showTransactions() 61 | { 62 | return view('dashboards.admin.Transactions'); 63 | } 64 | public function showNewsLetter() 65 | { 66 | $NewsLetter=NewsLetter::select('email','name')->distinct('name')->paginate(10); 67 | return view('dashboards.admin.NewsLetter')->with('NewsLetter', $NewsLetter); 68 | } 69 | 70 | 71 | 72 | 73 | } -------------------------------------------------------------------------------- /app/Http/Controllers/Admin/UserController.php: -------------------------------------------------------------------------------- 1 | input('role'); 17 | $user->role = $role; 18 | 19 | 20 | $user->update(); 21 | return redirect()->back()->with('status', 'Role is Updated'); 22 | 23 | } 24 | public function deleteuser(Request $request,$id) 25 | { 26 | $user=User::find($id); 27 | 28 | $user->status = 2; 29 | //Status 0 is Hide user 30 | //Status 1 is active user 31 | // Status 2 is the user present in the recycle bin 32 | $user->update(); 33 | return redirect()->back()->with('status', 'User Moved to Recycle Bin'); 34 | 35 | } 36 | public function restore(Request $request,$id) 37 | { 38 | $user=User::find($id); 39 | 40 | $user->status = 1; 41 | 42 | //Status 0 is Hide user 43 | //Status 1 is active user 44 | // Status 2 is the user present in the recycle bin 45 | $user->update(); 46 | return redirect()->back()->with('status', 'User Restored Succesfully'); 47 | 48 | } 49 | 50 | public function confirmdelete(Request $request,$id) 51 | { 52 | $delete = User::find($id); 53 | $delete->delete(); 54 | return redirect()->back()->with('status','User Permanently Deleted Successfully !!'); 55 | } 56 | 57 | } -------------------------------------------------------------------------------- /app/Http/Controllers/Auth/ForgotPasswordController.php: -------------------------------------------------------------------------------- 1 | middleware('guest'); 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /app/Http/Controllers/Auth/LoginController.php: -------------------------------------------------------------------------------- 1 | get('cart'); 33 | if($count) 34 | { 35 | return 'checkout'; 36 | } 37 | else 38 | { 39 | return '/'; 40 | } 41 | 42 | } 43 | 44 | 45 | // protected $redirectTo = '/home'; 46 | 47 | /** 48 | * Create a new controller instance. 49 | * 50 | * @return void 51 | */ 52 | public function __construct() 53 | { 54 | $this->middleware('guest')->except('logout'); 55 | } 56 | } 57 | -------------------------------------------------------------------------------- /app/Http/Controllers/Auth/RegisterController.php: -------------------------------------------------------------------------------- 1 | get('cart'); 34 | if($count) 35 | { 36 | return 'checkout'; 37 | } 38 | else 39 | { 40 | return '/'; 41 | } 42 | 43 | } 44 | // protected $redirectTo = '/home'; 45 | 46 | /** 47 | * Create a new controller instance. 48 | * 49 | * @return void 50 | */ 51 | public function __construct() 52 | { 53 | $this->middleware('guest'); 54 | } 55 | 56 | /** 57 | * Get a validator for an incoming registration request. 58 | * 59 | * @param array $data 60 | * @return \Illuminate\Contracts\Validation\Validator 61 | */ 62 | protected function validator(array $data) 63 | { 64 | return Validator::make($data, [ 65 | 'name' => ['required', 'string', 'max:255'], 66 | 'email' => ['required', 'string', 'email', 'max:255', 'unique:users'], 67 | 'password' => ['required', 'string', 'min:8', 'confirmed'], 68 | ]); 69 | } 70 | 71 | /** 72 | * Create a new user instance after a valid registration. 73 | * 74 | * @param array $data 75 | * @return \App\User 76 | */ 77 | protected function create(array $data) 78 | { 79 | return User::create([ 80 | 'name' => $data['name'], 81 | 'email' => $data['email'], 82 | 'password' => Hash::make($data['password']), 83 | ]); 84 | } 85 | } 86 | -------------------------------------------------------------------------------- /app/Http/Controllers/Auth/ResetPasswordController.php: -------------------------------------------------------------------------------- 1 | middleware('guest'); 38 | } 39 | } 40 | -------------------------------------------------------------------------------- /app/Http/Controllers/Auth/VerificationController.php: -------------------------------------------------------------------------------- 1 | middleware('auth'); 38 | $this->middleware('signed')->only('verify'); 39 | $this->middleware('throttle:6,1')->only('verify', 'resend'); 40 | } 41 | } 42 | -------------------------------------------------------------------------------- /app/Http/Controllers/Controller.php: -------------------------------------------------------------------------------- 1 | middleware('auth'); 17 | } 18 | 19 | /** 20 | * Show the application dashboard. 21 | * 22 | * @return \Illuminate\Contracts\Support\Renderable 23 | */ 24 | public function index() 25 | { 26 | return view('home'); 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /app/Http/Controllers/Order_Status_Controller.php: -------------------------------------------------------------------------------- 1 | back()->with('Order_Status',$Order_Status) 22 | ->with('Order_id', $Order_Status->id) 23 | ->with('Shipping_Status', $Order_Status->Shipping_Status) 24 | ->with('Delivery_Status', $Order_Status->Delivery_Status) 25 | ->with('p_status', $Order_Status->p_status) 26 | ->with('paymentmode', $Order_Status->paymentmode) 27 | 28 | ->with('Order_Cancelled_On', $Order_Status->Order_Cancelled_On) 29 | 30 | ->with('Order_Cancel_Status', $Order_Status->Order_Cancel_Status); 31 | } 32 | public function Order_Cancel(Request $request,$id) 33 | { 34 | $Orders=Order::find($id); 35 | date_default_timezone_set("Asia/Calcutta"); //India time (GMT+5:30) 36 | 37 | $Order_Cancelled_On = date('d-m-Y h:i:s'); 38 | $Orders->Order_Cancel_Status=1; 39 | $Orders->Order_Cancelled_On=$Order_Cancelled_On; 40 | # $Auth = Auth::user(); 41 | 42 | # $Orders->D_Status_Updated_By=$Auth->email; 43 | $Orders->update(); 44 | /* Email Alert Starts Here*/ 45 | $email=$Orders->Customer_Emailid; 46 | $Order_Details=$Orders->Order_Details; 47 | $Delivery_Address=$Orders->Delivery_Address; 48 | $p_method=$Orders->paymentmode; 49 | $Amount=$Orders->Amount; 50 | $status=$Orders->p_status; 51 | $User=User::where('email','=',$email)->first(); 52 | $loginid=$email; 53 | $name=$User->name; 54 | 55 | $welcomemessage='Hello '.$name.''; 56 | $emailbody='The Following Order is Cancelled Succesfully
57 |

Order Details:

Order No:'.$id.$Order_Details.'

58 |

Delivery Address: 59 | '.$Delivery_Address.'

60 |

Total Amount: 61 | '.$Amount.'

62 |

Payment Method:'.$p_method.'

63 |

Payment Status:'.$status.'

'; 64 | $emailcontent=array( 65 | 'WelcomeMessage'=>$welcomemessage, 66 | 'emailBody'=>$emailbody 67 | 68 | ); 69 | Mail::send(array('html' => 'emails.order_email'), $emailcontent, function($message) use 70 | ($loginid, $name,$id) 71 | { 72 | $message->to($loginid, $name)->subject 73 | ('Hey'.$name.' Your Order No: '.$id.' Was Cancelled Succesfully'); 74 | $message->from('codetalentum@btao.in','CodeTalentum'); 75 | 76 | }); 77 | /* Email Alert Ends Here*/ 78 | return redirect()->back()->with('status','Order Cancelled Succesfully'); 79 | 80 | } 81 | } -------------------------------------------------------------------------------- /app/Http/Controllers/Product_Ordering_Controller/FrontEndController.php: -------------------------------------------------------------------------------- 1 | first(); 14 | return view('Product-Order-Screens.Product_Page')->with('Product',$Product); 15 | } 16 | } -------------------------------------------------------------------------------- /app/Http/Kernel.php: -------------------------------------------------------------------------------- 1 | [ 31 | \App\Http\Middleware\EncryptCookies::class, 32 | \Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse::class, 33 | \Illuminate\Session\Middleware\StartSession::class, 34 | // \Illuminate\Session\Middleware\AuthenticateSession::class, 35 | \Illuminate\View\Middleware\ShareErrorsFromSession::class, 36 | \App\Http\Middleware\VerifyCsrfToken::class, 37 | \Illuminate\Routing\Middleware\SubstituteBindings::class, 38 | ], 39 | 40 | 'api' => [ 41 | 'throttle:60,1', 42 | 'bindings', 43 | ], 44 | ]; 45 | 46 | /** 47 | * The application's route middleware. 48 | * 49 | * These middleware may be assigned to groups or used individually. 50 | * 51 | * @var array 52 | */ 53 | protected $routeMiddleware = [ 54 | 'auth' => \App\Http\Middleware\Authenticate::class, 55 | 'auth.basic' => \Illuminate\Auth\Middleware\AuthenticateWithBasicAuth::class, 56 | 'bindings' => \Illuminate\Routing\Middleware\SubstituteBindings::class, 57 | 'cache.headers' => \Illuminate\Http\Middleware\SetCacheHeaders::class, 58 | 'can' => \Illuminate\Auth\Middleware\Authorize::class, 59 | 'guest' => \App\Http\Middleware\RedirectIfAuthenticated::class, 60 | 'signed' => \Illuminate\Routing\Middleware\ValidateSignature::class, 61 | 'throttle' => \Illuminate\Routing\Middleware\ThrottleRequests::class, 62 | 'verified' => \Illuminate\Auth\Middleware\EnsureEmailIsVerified::class, 63 | 'isAdmin'=>\App\Http\Middleware\AdminMiddleWare::class, 64 | ]; 65 | 66 | /** 67 | * The priority-sorted list of middleware. 68 | * 69 | * This forces non-global middleware to always be in the given order. 70 | * 71 | * @var array 72 | */ 73 | protected $middlewarePriority = [ 74 | \Illuminate\Session\Middleware\StartSession::class, 75 | \Illuminate\View\Middleware\ShareErrorsFromSession::class, 76 | \App\Http\Middleware\Authenticate::class, 77 | \Illuminate\Session\Middleware\AuthenticateSession::class, 78 | \Illuminate\Routing\Middleware\SubstituteBindings::class, 79 | \Illuminate\Auth\Middleware\Authorize::class, 80 | ]; 81 | } 82 | -------------------------------------------------------------------------------- /app/Http/Middleware/AdminMiddleWare.php: -------------------------------------------------------------------------------- 1 | role == 'admin') 23 | { 24 | return $next($request); 25 | } 26 | else 27 | { 28 | return redirect('/user/dashboard')->with('status','You Are not Allowed to Access the Admin Dashboard'); 29 | } 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /app/Http/Middleware/Authenticate.php: -------------------------------------------------------------------------------- 1 | expectsJson()) { 18 | return route('login'); 19 | } 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /app/Http/Middleware/CheckForMaintenanceMode.php: -------------------------------------------------------------------------------- 1 | check()) { 21 | return redirect('/home'); 22 | } 23 | 24 | return $next($request); 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /app/Http/Middleware/TrimStrings.php: -------------------------------------------------------------------------------- 1 | isReading($request) || $this->excludedRoutes($request) || $this->tokensMatch($request)) 12 | { 13 | return $this->addCookieToResponse($request, $next($request)); 14 | } 15 | 16 | throw new TokenMismatchException; 17 | } 18 | 19 | protected function excludedRoutes($request) 20 | { 21 | $routes = Config::get('indipay.remove_csrf_check'); 22 | 23 | foreach($routes as $route) 24 | if ($request->is($route)) 25 | return true; 26 | 27 | return false; 28 | } 29 | } -------------------------------------------------------------------------------- /app/Http/Middleware/VerifyCsrfToken.php: -------------------------------------------------------------------------------- 1 | 'App\Policies\ModelPolicy', 17 | ]; 18 | 19 | /** 20 | * Register any authentication / authorization services. 21 | * 22 | * @return void 23 | */ 24 | public function boot() 25 | { 26 | $this->registerPolicies(); 27 | 28 | // 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /app/Providers/BroadcastServiceProvider.php: -------------------------------------------------------------------------------- 1 | [ 19 | SendEmailVerificationNotification::class, 20 | ], 21 | ]; 22 | 23 | /** 24 | * Register any events for your application. 25 | * 26 | * @return void 27 | */ 28 | public function boot() 29 | { 30 | parent::boot(); 31 | 32 | // 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /app/Providers/RouteServiceProvider.php: -------------------------------------------------------------------------------- 1 | mapApiRoutes(); 39 | 40 | $this->mapWebRoutes(); 41 | 42 | // 43 | } 44 | 45 | /** 46 | * Define the "web" routes for the application. 47 | * 48 | * These routes all receive session state, CSRF protection, etc. 49 | * 50 | * @return void 51 | */ 52 | protected function mapWebRoutes() 53 | { 54 | Route::middleware('web') 55 | ->namespace($this->namespace) 56 | ->group(base_path('routes/web.php')); 57 | } 58 | 59 | /** 60 | * Define the "api" routes for the application. 61 | * 62 | * These routes are typically stateless. 63 | * 64 | * @return void 65 | */ 66 | protected function mapApiRoutes() 67 | { 68 | Route::prefix('api') 69 | ->middleware('api') 70 | ->namespace($this->namespace) 71 | ->group(base_path('routes/api.php')); 72 | } 73 | } 74 | -------------------------------------------------------------------------------- /app/User.php: -------------------------------------------------------------------------------- 1 | 'datetime', 38 | ]; 39 | } 40 | -------------------------------------------------------------------------------- /artisan: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env php 2 | make(Illuminate\Contracts\Console\Kernel::class); 34 | 35 | $status = $kernel->handle( 36 | $input = new Symfony\Component\Console\Input\ArgvInput, 37 | new Symfony\Component\Console\Output\ConsoleOutput 38 | ); 39 | 40 | /* 41 | |-------------------------------------------------------------------------- 42 | | Shutdown The Application 43 | |-------------------------------------------------------------------------- 44 | | 45 | | Once Artisan has finished running, we will fire off the shutdown events 46 | | so that any final work may be done by the application before we shut 47 | | down the process. This is the last thing to happen to the request. 48 | | 49 | */ 50 | 51 | $kernel->terminate($input, $status); 52 | 53 | exit($status); 54 | -------------------------------------------------------------------------------- /bootstrap/app.php: -------------------------------------------------------------------------------- 1 | singleton( 30 | Illuminate\Contracts\Http\Kernel::class, 31 | App\Http\Kernel::class 32 | ); 33 | 34 | $app->singleton( 35 | Illuminate\Contracts\Console\Kernel::class, 36 | App\Console\Kernel::class 37 | ); 38 | 39 | $app->singleton( 40 | Illuminate\Contracts\Debug\ExceptionHandler::class, 41 | App\Exceptions\Handler::class 42 | ); 43 | 44 | /* 45 | |-------------------------------------------------------------------------- 46 | | Return The Application 47 | |-------------------------------------------------------------------------- 48 | | 49 | | This script returns the application instance. The instance is given to 50 | | the calling script so we can separate the building of the instances 51 | | from the actual running of the application and sending responses. 52 | | 53 | */ 54 | 55 | return $app; 56 | -------------------------------------------------------------------------------- /bootstrap/cache/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore 3 | -------------------------------------------------------------------------------- /composer.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "rahulvijayam/ecommerce", 3 | "type": "project", 4 | "description": "The Laravel Framework.", 5 | "keywords": [ 6 | "framework", 7 | "laravel" 8 | ], 9 | "license": "MIT", 10 | "require": { 11 | "php": "^7.1.3", 12 | "fideloper/proxy": "^4.0", 13 | "laravel/framework": "5.8.*", 14 | "laravel/tinker": "^1.0", 15 | "softon/indipay": "^1.2" 16 | }, 17 | "require-dev": { 18 | "beyondcode/laravel-dump-server": "^1.0", 19 | "filp/whoops": "^2.0", 20 | "fzaninotto/faker": "^1.4", 21 | "mockery/mockery": "^1.0", 22 | "nunomaduro/collision": "^3.0", 23 | "phpunit/phpunit": "^7.5" 24 | }, 25 | "config": { 26 | "optimize-autoloader": true, 27 | "preferred-install": "dist", 28 | "sort-packages": true 29 | }, 30 | "extra": { 31 | "laravel": { 32 | "dont-discover": [] 33 | } 34 | }, 35 | "autoload": { 36 | "psr-4": { 37 | "App\\": "app/" 38 | }, 39 | "classmap": [ 40 | "database/seeds", 41 | "database/factories" 42 | ] 43 | }, 44 | "autoload-dev": { 45 | "psr-4": { 46 | "Tests\\": "tests/" 47 | } 48 | }, 49 | "minimum-stability": "dev", 50 | "prefer-stable": true, 51 | "scripts": { 52 | "post-autoload-dump": [ 53 | "Illuminate\\Foundation\\ComposerScripts::postAutoloadDump", 54 | "@php artisan package:discover --ansi" 55 | ], 56 | "post-root-package-install": [ 57 | "@php -r \"file_exists('.env') || copy('.env.example', '.env');\"" 58 | ], 59 | "post-create-project-cmd": [ 60 | "@php artisan key:generate --ansi" 61 | ] 62 | } 63 | } 64 | -------------------------------------------------------------------------------- /config/auth.php: -------------------------------------------------------------------------------- 1 | [ 17 | 'guard' => 'web', 18 | 'passwords' => 'users', 19 | ], 20 | 21 | /* 22 | |-------------------------------------------------------------------------- 23 | | Authentication Guards 24 | |-------------------------------------------------------------------------- 25 | | 26 | | Next, you may define every authentication guard for your application. 27 | | Of course, a great default configuration has been defined for you 28 | | here which uses session storage and the Eloquent user provider. 29 | | 30 | | All authentication drivers have a user provider. This defines how the 31 | | users are actually retrieved out of your database or other storage 32 | | mechanisms used by this application to persist your user's data. 33 | | 34 | | Supported: "session", "token" 35 | | 36 | */ 37 | 38 | 'guards' => [ 39 | 'web' => [ 40 | 'driver' => 'session', 41 | 'provider' => 'users', 42 | ], 43 | 44 | 'api' => [ 45 | 'driver' => 'token', 46 | 'provider' => 'users', 47 | 'hash' => false, 48 | ], 49 | ], 50 | 51 | /* 52 | |-------------------------------------------------------------------------- 53 | | User Providers 54 | |-------------------------------------------------------------------------- 55 | | 56 | | All authentication drivers have a user provider. This defines how the 57 | | users are actually retrieved out of your database or other storage 58 | | mechanisms used by this application to persist your user's data. 59 | | 60 | | If you have multiple user tables or models you may configure multiple 61 | | sources which represent each model / table. These sources may then 62 | | be assigned to any extra authentication guards you have defined. 63 | | 64 | | Supported: "database", "eloquent" 65 | | 66 | */ 67 | 68 | 'providers' => [ 69 | 'users' => [ 70 | 'driver' => 'eloquent', 71 | 'model' => App\User::class, 72 | ], 73 | 74 | // 'users' => [ 75 | // 'driver' => 'database', 76 | // 'table' => 'users', 77 | // ], 78 | ], 79 | 80 | /* 81 | |-------------------------------------------------------------------------- 82 | | Resetting Passwords 83 | |-------------------------------------------------------------------------- 84 | | 85 | | You may specify multiple password reset configurations if you have more 86 | | than one user table or model in the application and you want to have 87 | | separate password reset settings based on the specific user types. 88 | | 89 | | The expire time is the number of minutes that the reset token should be 90 | | considered valid. This security feature keeps tokens short-lived so 91 | | they have less time to be guessed. You may change this as needed. 92 | | 93 | */ 94 | 95 | 'passwords' => [ 96 | 'users' => [ 97 | 'provider' => 'users', 98 | 'table' => 'password_resets', 99 | 'expire' => 60, 100 | ], 101 | ], 102 | 103 | ]; 104 | -------------------------------------------------------------------------------- /config/broadcasting.php: -------------------------------------------------------------------------------- 1 | env('BROADCAST_DRIVER', 'null'), 19 | 20 | /* 21 | |-------------------------------------------------------------------------- 22 | | Broadcast Connections 23 | |-------------------------------------------------------------------------- 24 | | 25 | | Here you may define all of the broadcast connections that will be used 26 | | to broadcast events to other systems or over websockets. Samples of 27 | | each available type of connection are provided inside this array. 28 | | 29 | */ 30 | 31 | 'connections' => [ 32 | 33 | 'pusher' => [ 34 | 'driver' => 'pusher', 35 | 'key' => env('PUSHER_APP_KEY'), 36 | 'secret' => env('PUSHER_APP_SECRET'), 37 | 'app_id' => env('PUSHER_APP_ID'), 38 | 'options' => [ 39 | 'cluster' => env('PUSHER_APP_CLUSTER'), 40 | 'useTLS' => true, 41 | ], 42 | ], 43 | 44 | 'redis' => [ 45 | 'driver' => 'redis', 46 | 'connection' => 'default', 47 | ], 48 | 49 | 'log' => [ 50 | 'driver' => 'log', 51 | ], 52 | 53 | 'null' => [ 54 | 'driver' => 'null', 55 | ], 56 | 57 | ], 58 | 59 | ]; 60 | -------------------------------------------------------------------------------- /config/cache.php: -------------------------------------------------------------------------------- 1 | env('CACHE_DRIVER', 'file'), 22 | 23 | /* 24 | |-------------------------------------------------------------------------- 25 | | Cache Stores 26 | |-------------------------------------------------------------------------- 27 | | 28 | | Here you may define all of the cache "stores" for your application as 29 | | well as their drivers. You may even define multiple stores for the 30 | | same cache driver to group types of items stored in your caches. 31 | | 32 | */ 33 | 34 | 'stores' => [ 35 | 36 | 'apc' => [ 37 | 'driver' => 'apc', 38 | ], 39 | 40 | 'array' => [ 41 | 'driver' => 'array', 42 | ], 43 | 44 | 'database' => [ 45 | 'driver' => 'database', 46 | 'table' => 'cache', 47 | 'connection' => null, 48 | ], 49 | 50 | 'file' => [ 51 | 'driver' => 'file', 52 | 'path' => storage_path('framework/cache/data'), 53 | ], 54 | 55 | 'memcached' => [ 56 | 'driver' => 'memcached', 57 | 'persistent_id' => env('MEMCACHED_PERSISTENT_ID'), 58 | 'sasl' => [ 59 | env('MEMCACHED_USERNAME'), 60 | env('MEMCACHED_PASSWORD'), 61 | ], 62 | 'options' => [ 63 | // Memcached::OPT_CONNECT_TIMEOUT => 2000, 64 | ], 65 | 'servers' => [ 66 | [ 67 | 'host' => env('MEMCACHED_HOST', '127.0.0.1'), 68 | 'port' => env('MEMCACHED_PORT', 11211), 69 | 'weight' => 100, 70 | ], 71 | ], 72 | ], 73 | 74 | 'redis' => [ 75 | 'driver' => 'redis', 76 | 'connection' => 'cache', 77 | ], 78 | 79 | 'dynamodb' => [ 80 | 'driver' => 'dynamodb', 81 | 'key' => env('AWS_ACCESS_KEY_ID'), 82 | 'secret' => env('AWS_SECRET_ACCESS_KEY'), 83 | 'region' => env('AWS_DEFAULT_REGION', 'us-east-1'), 84 | 'table' => env('DYNAMODB_CACHE_TABLE', 'cache'), 85 | 'endpoint' => env('DYNAMODB_ENDPOINT'), 86 | ], 87 | 88 | ], 89 | 90 | /* 91 | |-------------------------------------------------------------------------- 92 | | Cache Key Prefix 93 | |-------------------------------------------------------------------------- 94 | | 95 | | When utilizing a RAM based store such as APC or Memcached, there might 96 | | be other applications utilizing the same cache. So, we'll specify a 97 | | value to get prefixed to all our keys so we can avoid collisions. 98 | | 99 | */ 100 | 101 | 'prefix' => env('CACHE_PREFIX', Str::slug(env('APP_NAME', 'laravel'), '_').'_cache'), 102 | 103 | ]; 104 | -------------------------------------------------------------------------------- /config/filesystems.php: -------------------------------------------------------------------------------- 1 | env('FILESYSTEM_DRIVER', 'local'), 17 | 18 | /* 19 | |-------------------------------------------------------------------------- 20 | | Default Cloud Filesystem Disk 21 | |-------------------------------------------------------------------------- 22 | | 23 | | Many applications store files both locally and in the cloud. For this 24 | | reason, you may specify a default "cloud" driver here. This driver 25 | | will be bound as the Cloud disk implementation in the container. 26 | | 27 | */ 28 | 29 | 'cloud' => env('FILESYSTEM_CLOUD', 's3'), 30 | 31 | /* 32 | |-------------------------------------------------------------------------- 33 | | Filesystem Disks 34 | |-------------------------------------------------------------------------- 35 | | 36 | | Here you may configure as many filesystem "disks" as you wish, and you 37 | | may even configure multiple disks of the same driver. Defaults have 38 | | been setup for each driver as an example of the required options. 39 | | 40 | | Supported Drivers: "local", "ftp", "sftp", "s3", "rackspace" 41 | | 42 | */ 43 | 44 | 'disks' => [ 45 | 46 | 'local' => [ 47 | 'driver' => 'local', 48 | 'root' => storage_path('app'), 49 | ], 50 | 51 | 'public' => [ 52 | 'driver' => 'local', 53 | 'root' => storage_path('app/public'), 54 | 'url' => env('APP_URL').'/storage', 55 | 'visibility' => 'public', 56 | ], 57 | 58 | 's3' => [ 59 | 'driver' => 's3', 60 | 'key' => env('AWS_ACCESS_KEY_ID'), 61 | 'secret' => env('AWS_SECRET_ACCESS_KEY'), 62 | 'region' => env('AWS_DEFAULT_REGION'), 63 | 'bucket' => env('AWS_BUCKET'), 64 | 'url' => env('AWS_URL'), 65 | ], 66 | 67 | ], 68 | 69 | ]; 70 | -------------------------------------------------------------------------------- /config/hashing.php: -------------------------------------------------------------------------------- 1 | 'bcrypt', 19 | 20 | /* 21 | |-------------------------------------------------------------------------- 22 | | Bcrypt Options 23 | |-------------------------------------------------------------------------- 24 | | 25 | | Here you may specify the configuration options that should be used when 26 | | passwords are hashed using the Bcrypt algorithm. This will allow you 27 | | to control the amount of time it takes to hash the given password. 28 | | 29 | */ 30 | 31 | 'bcrypt' => [ 32 | 'rounds' => env('BCRYPT_ROUNDS', 10), 33 | ], 34 | 35 | /* 36 | |-------------------------------------------------------------------------- 37 | | Argon Options 38 | |-------------------------------------------------------------------------- 39 | | 40 | | Here you may specify the configuration options that should be used when 41 | | passwords are hashed using the Argon algorithm. These will allow you 42 | | to control the amount of time it takes to hash the given password. 43 | | 44 | */ 45 | 46 | 'argon' => [ 47 | 'memory' => 1024, 48 | 'threads' => 2, 49 | 'time' => 2, 50 | ], 51 | 52 | ]; 53 | -------------------------------------------------------------------------------- /config/indipay.php: -------------------------------------------------------------------------------- 1 | 'payumoney', // Replace with the name of default gateway you want to use 13 | 14 | 'testMode' => false, // True for Testing the Gateway [For production false] 15 | 16 | 'ccavenue' => [ // CCAvenue Parameters 17 | 'merchantId' => env('INDIPAY_MERCHANT_ID', ''), 18 | 'accessCode' => env('INDIPAY_ACCESS_CODE', ''), 19 | 'workingKey' => env('INDIPAY_WORKING_KEY', ''), 20 | 21 | // Should be route address for url() function 22 | 'redirectUrl' => env('INDIPAY_REDIRECT_URL', 'indipay/response'), 23 | 'cancelUrl' => env('INDIPAY_CANCEL_URL', 'indipay/response'), 24 | 25 | 'currency' => env('INDIPAY_CURRENCY', 'INR'), 26 | 'language' => env('INDIPAY_LANGUAGE', 'EN'), 27 | ], 28 | 29 | 'payumoney' => [ // PayUMoney Parameters 30 | 'merchantKey' => env('INDIPAY_MERCHANT_KEY', ''), //add merchat key 31 | 'salt' => env('INDIPAY_SALT', ''), //add salt key 32 | 'workingKey' => env('INDIPAY_WORKING_KEY', ''), 33 | 34 | // Should be route address for url() function 35 | 'successUrl' => env('INDIPAY_SUCCESS_URL', 'payumoney/response'), 36 | 'failureUrl' => env('INDIPAY_FAILURE_URL', 'payumoney/response'), 37 | ], 38 | 39 | 'ebs' => [ // EBS Parameters 40 | 'account_id' => env('INDIPAY_MERCHANT_ID', ''), 41 | 'secretKey' => env('INDIPAY_WORKING_KEY', ''), 42 | 43 | // Should be route address for url() function 44 | 'return_url' => env('INDIPAY_SUCCESS_URL', 'indipay/response'), 45 | ], 46 | 47 | 'citrus' => [ // Citrus Parameters 48 | 'vanityUrl' => env('INDIPAY_CITRUS_VANITY_URL', ''), 49 | 'secretKey' => env('INDIPAY_WORKING_KEY', ''), 50 | 51 | // Should be route address for url() function 52 | 'returnUrl' => env('INDIPAY_SUCCESS_URL', 'indipay/response'), 53 | 'notifyUrl' => env('INDIPAY_SUCCESS_URL', 'indipay/response'), 54 | ], 55 | 56 | 'instamojo' => [ 57 | 'api_key' => env('INSTAMOJO_API_KEY',''), 58 | 'auth_token' => env('INSTAMOJO_AUTH_TOKEN',''), 59 | 'redirectUrl' => env('INDIPAY_REDIRECT_URL', 'indipay/response'), 60 | ], 61 | 62 | 'mocker' => [ 63 | 'service' => env('MOCKER_SERVICE','default'), 64 | 'redirect_url' => env('MOCKER_REDIRECT_URL', 'indipay/response'), 65 | ], 66 | 67 | 'zapakpay' => [ 68 | 'merchantIdentifier' => env('ZAPAKPAY_MERCHANT_ID',''), 69 | 'secret' => env('ZAPAKPAY_SECRET', ''), 70 | 'returnUrl' => env('ZAPAKPAY_RETURN_URL', 'indipay/response'), 71 | ], 72 | 73 | 'paytm' => [ 74 | 'MERCHANT_KEY' => env('PAYTM_MERCHANT_KEY',''), 75 | 'MID' => env('PAYTM_MID', ''), 76 | 'CHANNEL_ID' => env('PAYTM_CHANNEL_ID', 'WEB'), 77 | 'WEBSITE' => env('PAYTM_WEBSITE', 'WEBSTAGING'), 78 | 'INDUSTRY_TYPE_ID' => env('PAYTM_INDUSTRY_TYPE_ID', 'Retail'), 79 | 'REDIRECT_URL' => env('PAYTM_REDIRECT_URL', 'indipay/response'), 80 | ], 81 | 82 | // Add your response link here. In Laravel 5.2+ you may use the VerifyCsrf Middleware. 83 | 'remove_csrf_check' => [ 84 | 'indipay/response' 85 | ], 86 | 87 | 88 | 89 | 90 | 91 | ]; 92 | -------------------------------------------------------------------------------- /config/logging.php: -------------------------------------------------------------------------------- 1 | env('LOG_CHANNEL', 'stack'), 20 | 21 | /* 22 | |-------------------------------------------------------------------------- 23 | | Log Channels 24 | |-------------------------------------------------------------------------- 25 | | 26 | | Here you may configure the log channels for your application. Out of 27 | | the box, Laravel uses the Monolog PHP logging library. This gives 28 | | you a variety of powerful log handlers / formatters to utilize. 29 | | 30 | | Available Drivers: "single", "daily", "slack", "syslog", 31 | | "errorlog", "monolog", 32 | | "custom", "stack" 33 | | 34 | */ 35 | 36 | 'channels' => [ 37 | 'stack' => [ 38 | 'driver' => 'stack', 39 | 'channels' => ['daily'], 40 | 'ignore_exceptions' => false, 41 | ], 42 | 43 | 'single' => [ 44 | 'driver' => 'single', 45 | 'path' => storage_path('logs/laravel.log'), 46 | 'level' => 'debug', 47 | ], 48 | 49 | 'daily' => [ 50 | 'driver' => 'daily', 51 | 'path' => storage_path('logs/laravel.log'), 52 | 'level' => 'debug', 53 | 'days' => 14, 54 | ], 55 | 56 | 'slack' => [ 57 | 'driver' => 'slack', 58 | 'url' => env('LOG_SLACK_WEBHOOK_URL'), 59 | 'username' => 'Laravel Log', 60 | 'emoji' => ':boom:', 61 | 'level' => 'critical', 62 | ], 63 | 64 | 'papertrail' => [ 65 | 'driver' => 'monolog', 66 | 'level' => 'debug', 67 | 'handler' => SyslogUdpHandler::class, 68 | 'handler_with' => [ 69 | 'host' => env('PAPERTRAIL_URL'), 70 | 'port' => env('PAPERTRAIL_PORT'), 71 | ], 72 | ], 73 | 74 | 'stderr' => [ 75 | 'driver' => 'monolog', 76 | 'handler' => StreamHandler::class, 77 | 'formatter' => env('LOG_STDERR_FORMATTER'), 78 | 'with' => [ 79 | 'stream' => 'php://stderr', 80 | ], 81 | ], 82 | 83 | 'syslog' => [ 84 | 'driver' => 'syslog', 85 | 'level' => 'debug', 86 | ], 87 | 88 | 'errorlog' => [ 89 | 'driver' => 'errorlog', 90 | 'level' => 'debug', 91 | ], 92 | ], 93 | 94 | ]; 95 | -------------------------------------------------------------------------------- /config/queue.php: -------------------------------------------------------------------------------- 1 | env('QUEUE_CONNECTION', 'sync'), 17 | 18 | /* 19 | |-------------------------------------------------------------------------- 20 | | Queue Connections 21 | |-------------------------------------------------------------------------- 22 | | 23 | | Here you may configure the connection information for each server that 24 | | is used by your application. A default configuration has been added 25 | | for each back-end shipped with Laravel. You are free to add more. 26 | | 27 | | Drivers: "sync", "database", "beanstalkd", "sqs", "redis", "null" 28 | | 29 | */ 30 | 31 | 'connections' => [ 32 | 33 | 'sync' => [ 34 | 'driver' => 'sync', 35 | ], 36 | 37 | 'database' => [ 38 | 'driver' => 'database', 39 | 'table' => 'jobs', 40 | 'queue' => 'default', 41 | 'retry_after' => 90, 42 | ], 43 | 44 | 'beanstalkd' => [ 45 | 'driver' => 'beanstalkd', 46 | 'host' => 'localhost', 47 | 'queue' => 'default', 48 | 'retry_after' => 90, 49 | 'block_for' => 0, 50 | ], 51 | 52 | 'sqs' => [ 53 | 'driver' => 'sqs', 54 | 'key' => env('AWS_ACCESS_KEY_ID'), 55 | 'secret' => env('AWS_SECRET_ACCESS_KEY'), 56 | 'prefix' => env('SQS_PREFIX', 'https://sqs.us-east-1.amazonaws.com/your-account-id'), 57 | 'queue' => env('SQS_QUEUE', 'your-queue-name'), 58 | 'region' => env('AWS_DEFAULT_REGION', 'us-east-1'), 59 | ], 60 | 61 | 'redis' => [ 62 | 'driver' => 'redis', 63 | 'connection' => 'default', 64 | 'queue' => env('REDIS_QUEUE', 'default'), 65 | 'retry_after' => 90, 66 | 'block_for' => null, 67 | ], 68 | 69 | ], 70 | 71 | /* 72 | |-------------------------------------------------------------------------- 73 | | Failed Queue Jobs 74 | |-------------------------------------------------------------------------- 75 | | 76 | | These options configure the behavior of failed queue job logging so you 77 | | can control which database and table are used to store the jobs that 78 | | have failed. You may change them to any database / table you wish. 79 | | 80 | */ 81 | 82 | 'failed' => [ 83 | 'database' => env('DB_CONNECTION', 'mysql'), 84 | 'table' => 'failed_jobs', 85 | ], 86 | 87 | ]; 88 | -------------------------------------------------------------------------------- /config/services.php: -------------------------------------------------------------------------------- 1 | [ 18 | 'domain' => env('MAILGUN_DOMAIN'), 19 | 'secret' => env('MAILGUN_SECRET'), 20 | 'endpoint' => env('MAILGUN_ENDPOINT', 'api.mailgun.net'), 21 | ], 22 | 23 | 'postmark' => [ 24 | 'token' => env('POSTMARK_TOKEN'), 25 | ], 26 | 27 | 'ses' => [ 28 | 'key' => env('AWS_ACCESS_KEY_ID'), 29 | 'secret' => env('AWS_SECRET_ACCESS_KEY'), 30 | 'region' => env('AWS_DEFAULT_REGION', 'us-east-1'), 31 | ], 32 | 33 | 'sparkpost' => [ 34 | 'secret' => env('SPARKPOST_SECRET'), 35 | ], 36 | 37 | ]; 38 | -------------------------------------------------------------------------------- /config/view.php: -------------------------------------------------------------------------------- 1 | [ 17 | resource_path('views'), 18 | ], 19 | 20 | /* 21 | |-------------------------------------------------------------------------- 22 | | Compiled View Path 23 | |-------------------------------------------------------------------------- 24 | | 25 | | This option determines where all the compiled Blade templates will be 26 | | stored for your application. Typically, this is within the storage 27 | | directory. However, as usual, you are free to change this value. 28 | | 29 | */ 30 | 31 | 'compiled' => env( 32 | 'VIEW_COMPILED_PATH', 33 | realpath(storage_path('framework/views')) 34 | ), 35 | 36 | ]; 37 | -------------------------------------------------------------------------------- /database/.gitignore: -------------------------------------------------------------------------------- 1 | *.sqlite 2 | *.sqlite-journal 3 | -------------------------------------------------------------------------------- /database/factories/UserFactory.php: -------------------------------------------------------------------------------- 1 | define(User::class, function (Faker $faker) { 20 | return [ 21 | 'name' => $faker->name, 22 | 'email' => $faker->unique()->safeEmail, 23 | 'email_verified_at' => now(), 24 | 'password' => '$2y$10$92IXUNpkjO0rOQ5byMi.Ye4oKoEa3Ro9llC/.og/at2.uheWG/igi', // password 25 | 'remember_token' => Str::random(10), 26 | ]; 27 | }); 28 | -------------------------------------------------------------------------------- /database/migrations/2014_10_12_000000_create_users_table.php: -------------------------------------------------------------------------------- 1 | bigIncrements('id'); 18 | $table->string('name'); 19 | $table->string('email')->unique(); 20 | $table->timestamp('email_verified_at')->nullable(); 21 | $table->string('image')->nullable(); 22 | $table->string('address1')->nullable(); 23 | $table->string('address2')->nullable(); 24 | $table->string('city')->nullable(); 25 | $table->string('pincode')->nullable(); 26 | $table->string('state')->nullable(); 27 | $table->string('country')->nullable(); 28 | $table->string('mnumber')->nullable(); 29 | $table->string('alternativemno')->nullable(); 30 | 31 | $table->string('password'); 32 | $table->string('role')->default("user"); 33 | $table->string('status')->default("1"); 34 | $table->rememberToken(); 35 | $table->timestamps(); 36 | }); 37 | } 38 | 39 | /** 40 | * Reverse the migrations. 41 | * 42 | * @return void 43 | */ 44 | public function down() 45 | { 46 | Schema::dropIfExists('users'); 47 | } 48 | } 49 | -------------------------------------------------------------------------------- /database/migrations/2014_10_12_100000_create_password_resets_table.php: -------------------------------------------------------------------------------- 1 | string('email')->index(); 18 | $table->string('token'); 19 | $table->timestamp('created_at')->nullable(); 20 | }); 21 | } 22 | 23 | /** 24 | * Reverse the migrations. 25 | * 26 | * @return void 27 | */ 28 | public function down() 29 | { 30 | Schema::dropIfExists('password_resets'); 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /database/migrations/2021_02_20_194346_create_products_table.php: -------------------------------------------------------------------------------- 1 | bigIncrements('id'); 18 | $table->integer('priority'); 19 | 20 | $table->string('name'); 21 | $table->string('description'); 22 | $table->string('url'); 23 | $table->integer('rating')->nullable(); 24 | $table->integer('price')->nullable(); 25 | $table->integer('discount')->nullable(); 26 | 27 | $table->string('image1')->nullable(); 28 | 29 | $table->string('image2')->nullable(); 30 | 31 | $table->string('image3')->nullable(); 32 | 33 | $table->string('image4')->nullable(); 34 | $table->string('title')->nullable(); 35 | $table->string('keywords')->nullable(); 36 | $table->string('meta_description')->nullable(); 37 | $table->string('status')->default('1'); 38 | 39 | $table->integer('delivery_charges')->nullable(); 40 | 41 | $table->string('additional_info')->nullable(); 42 | 43 | $table->timestamps(); 44 | }); 45 | } 46 | 47 | /** 48 | * Reverse the migrations. 49 | * 50 | * @return void 51 | */ 52 | public function down() 53 | { 54 | Schema::dropIfExists('products'); 55 | } 56 | } 57 | -------------------------------------------------------------------------------- /database/migrations/2021_02_26_165458_create_orders_table.php: -------------------------------------------------------------------------------- 1 | bigIncrements('id'); 18 | $table->string('Customer_Emailid'); 19 | $table->string('Delivery_Address'); 20 | $table->string('Order_Details'); 21 | $table->float('Coupen_Code')->nullable(); 22 | $table->double('Amount',8,2); 23 | $table->string('paymentmode'); 24 | $table->string('Shipping_Status')->default('pending'); 25 | $table->string('Delivery_Status')->default('pending'); 26 | $table->tinyInteger('Order_Cancel_Status')->default('0'); 27 | $table->string('Order_Cancelled_On')->nullable(); 28 | $table->string('p_status')->default('pending'); 29 | $table->string('p_status_Updated_By')->nullable(); 30 | 31 | 32 | 33 | $table->timestamps(); 34 | }); 35 | } 36 | 37 | /** 38 | * Reverse the migrations. 39 | * 40 | * @return void 41 | */ 42 | public function down() 43 | { 44 | Schema::dropIfExists('_orders'); 45 | } 46 | } 47 | -------------------------------------------------------------------------------- /database/migrations/2021_03_05_064539_create_coupencodes_table.php: -------------------------------------------------------------------------------- 1 | bigIncrements('id'); 18 | $table->string('code'); 19 | $table->string('validfrom'); 20 | $table->string('validupto'); 21 | $table->string('discount'); 22 | $table->timestamps(); 23 | }); 24 | } 25 | 26 | /** 27 | * Reverse the migrations. 28 | * 29 | * @return void 30 | */ 31 | public function down() 32 | { 33 | Schema::dropIfExists('coupencodes'); 34 | } 35 | } 36 | -------------------------------------------------------------------------------- /database/migrations/2021_03_05_113739_create_transactions_table.php: -------------------------------------------------------------------------------- 1 | bigIncrements('id'); 18 | $table->string('TXNID'); 19 | $table->integer('Oder_No'); 20 | 21 | $table->string('email'); 22 | $table->double('amount',8,2); 23 | $table->string('status'); 24 | $table->timestamps(); 25 | }); 26 | } 27 | 28 | /** 29 | * Reverse the migrations. 30 | * 31 | * @return void 32 | */ 33 | public function down() 34 | { 35 | Schema::dropIfExists('transactions'); 36 | } 37 | } 38 | -------------------------------------------------------------------------------- /database/migrations/2021_11_04_162451_create_newsletter_table.php: -------------------------------------------------------------------------------- 1 | bigIncrements('sno'); 18 | 19 | $table->string('name'); 20 | $table->string('email'); 21 | $table->timestamps(); 22 | }); 23 | } 24 | 25 | /** 26 | * Reverse the migrations. 27 | * 28 | * @return void 29 | */ 30 | public function down() 31 | { 32 | Schema::dropIfExists('newsletter'); 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /database/seeds/DatabaseSeeder.php: -------------------------------------------------------------------------------- 1 | call(UsersTableSeeder::class); 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /index.php: -------------------------------------------------------------------------------- 1 | 8 | */ 9 | 10 | define('LARAVEL_START', microtime(true)); 11 | 12 | /* 13 | |-------------------------------------------------------------------------- 14 | | Register The Auto Loader 15 | |-------------------------------------------------------------------------- 16 | | 17 | | Composer provides a convenient, automatically generated class loader for 18 | | our application. We just need to utilize it! We'll simply require it 19 | | into the script here so that we don't have to worry about manual 20 | | loading any of our classes later on. It feels great to relax. 21 | | 22 | */ 23 | 24 | require __DIR__.'/vendor/autoload.php'; 25 | 26 | /* 27 | |-------------------------------------------------------------------------- 28 | | Turn On The Lights 29 | |-------------------------------------------------------------------------- 30 | | 31 | | We need to illuminate PHP development, so let us turn on the lights. 32 | | This bootstraps the framework and gets it ready for use, then it 33 | | will load up this application so that we can run it and send 34 | | the responses back to the browser and delight our users. 35 | | 36 | */ 37 | 38 | $app = require_once __DIR__.'/bootstrap/app.php'; 39 | 40 | /* 41 | |-------------------------------------------------------------------------- 42 | | Run The Application 43 | |-------------------------------------------------------------------------- 44 | | 45 | | Once we have the application, we can handle the incoming request 46 | | through the kernel, and send the associated response back to 47 | | the client's browser allowing them to enjoy the creative 48 | | and wonderful application we have prepared for them. 49 | | 50 | */ 51 | 52 | $kernel = $app->make(Illuminate\Contracts\Http\Kernel::class); 53 | 54 | $response = $kernel->handle( 55 | $request = Illuminate\Http\Request::capture() 56 | ); 57 | 58 | $response->send(); 59 | 60 | $kernel->terminate($request, $response); 61 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "private": true, 3 | "scripts": { 4 | "dev": "npm run development", 5 | "development": "cross-env NODE_ENV=development node_modules/webpack/bin/webpack.js --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js", 6 | "watch": "npm run development -- --watch", 7 | "watch-poll": "npm run watch -- --watch-poll", 8 | "hot": "cross-env NODE_ENV=development node_modules/webpack-dev-server/bin/webpack-dev-server.js --inline --hot --config=node_modules/laravel-mix/setup/webpack.config.js", 9 | "prod": "npm run production", 10 | "production": "cross-env NODE_ENV=production node_modules/webpack/bin/webpack.js --no-progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js" 11 | }, 12 | "devDependencies": { 13 | "axios": "^0.19", 14 | "bootstrap": "^4.1.0", 15 | "cross-env": "^5.1", 16 | "jquery": "^3.2", 17 | "laravel-mix": "^4.0.7", 18 | "lodash": "^4.17.13", 19 | "popper.js": "^1.12", 20 | "resolve-url-loader": "^2.3.1", 21 | "sass": "^1.15.2", 22 | "sass-loader": "^7.1.0", 23 | "vue": "^2.5.17" 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /phpunit.xml: -------------------------------------------------------------------------------- 1 | 2 | 11 | 12 | 13 | ./tests/Unit 14 | 15 | 16 | 17 | ./tests/Feature 18 | 19 | 20 | 21 | 22 | ./app 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | -------------------------------------------------------------------------------- /public/.htaccess: -------------------------------------------------------------------------------- 1 | 2 | 3 | Options -MultiViews -Indexes 4 | 5 | 6 | RewriteEngine On 7 | 8 | # Handle Authorization Header 9 | RewriteCond %{HTTP:Authorization} . 10 | RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}] 11 | 12 | # Redirect Trailing Slashes If Not A Folder... 13 | RewriteCond %{REQUEST_FILENAME} !-d 14 | RewriteCond %{REQUEST_URI} (.+)/$ 15 | RewriteRule ^ %1 [L,R=301] 16 | 17 | # Handle Front Controller... 18 | RewriteCond %{REQUEST_FILENAME} !-d 19 | RewriteCond %{REQUEST_FILENAME} !-f 20 | RewriteRule ^ index.php [L] 21 | 22 | -------------------------------------------------------------------------------- /public/Img/4004.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RahulVijayam/laravel-ecommerce-project/ffb1a53888c2a9ab8e6a11981506712d17a6b370/public/Img/4004.png -------------------------------------------------------------------------------- /public/Img/401.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RahulVijayam/laravel-ecommerce-project/ffb1a53888c2a9ab8e6a11981506712d17a6b370/public/Img/401.png -------------------------------------------------------------------------------- /public/Img/419.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RahulVijayam/laravel-ecommerce-project/ffb1a53888c2a9ab8e6a11981506712d17a6b370/public/Img/419.png -------------------------------------------------------------------------------- /public/Img/500.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RahulVijayam/laravel-ecommerce-project/ffb1a53888c2a9ab8e6a11981506712d17a6b370/public/Img/500.png -------------------------------------------------------------------------------- /public/Img/About/1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RahulVijayam/laravel-ecommerce-project/ffb1a53888c2a9ab8e6a11981506712d17a6b370/public/Img/About/1.jpg -------------------------------------------------------------------------------- /public/Img/About/2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RahulVijayam/laravel-ecommerce-project/ffb1a53888c2a9ab8e6a11981506712d17a6b370/public/Img/About/2.jpg -------------------------------------------------------------------------------- /public/Img/Gallary/1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RahulVijayam/laravel-ecommerce-project/ffb1a53888c2a9ab8e6a11981506712d17a6b370/public/Img/Gallary/1.jpg -------------------------------------------------------------------------------- /public/Img/Gallary/2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RahulVijayam/laravel-ecommerce-project/ffb1a53888c2a9ab8e6a11981506712d17a6b370/public/Img/Gallary/2.jpg -------------------------------------------------------------------------------- /public/Img/about.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RahulVijayam/laravel-ecommerce-project/ffb1a53888c2a9ab8e6a11981506712d17a6b370/public/Img/about.png -------------------------------------------------------------------------------- /public/Img/admin_image.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RahulVijayam/laravel-ecommerce-project/ffb1a53888c2a9ab8e6a11981506712d17a6b370/public/Img/admin_image.png -------------------------------------------------------------------------------- /public/Uploads/Products/-1-.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RahulVijayam/laravel-ecommerce-project/ffb1a53888c2a9ab8e6a11981506712d17a6b370/public/Uploads/Products/-1-.jpg -------------------------------------------------------------------------------- /public/Uploads/Products/Containers-1-.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RahulVijayam/laravel-ecommerce-project/ffb1a53888c2a9ab8e6a11981506712d17a6b370/public/Uploads/Products/Containers-1-.jpg -------------------------------------------------------------------------------- /public/Uploads/Products/Dusbin-1-.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RahulVijayam/laravel-ecommerce-project/ffb1a53888c2a9ab8e6a11981506712d17a6b370/public/Uploads/Products/Dusbin-1-.jpg -------------------------------------------------------------------------------- /public/Uploads/Products/Flowers-Fruits-Basket-Set-1-.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RahulVijayam/laravel-ecommerce-project/ffb1a53888c2a9ab8e6a11981506712d17a6b370/public/Uploads/Products/Flowers-Fruits-Basket-Set-1-.jpg -------------------------------------------------------------------------------- /public/Uploads/Products/Mat-1-.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RahulVijayam/laravel-ecommerce-project/ffb1a53888c2a9ab8e6a11981506712d17a6b370/public/Uploads/Products/Mat-1-.jpg -------------------------------------------------------------------------------- /public/Uploads/profiles/1614976020.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RahulVijayam/laravel-ecommerce-project/ffb1a53888c2a9ab8e6a11981506712d17a6b370/public/Uploads/profiles/1614976020.jpg -------------------------------------------------------------------------------- /public/Uploads/profiles/1615054851.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RahulVijayam/laravel-ecommerce-project/ffb1a53888c2a9ab8e6a11981506712d17a6b370/public/Uploads/profiles/1615054851.jpg -------------------------------------------------------------------------------- /public/Uploads/profiles/1615442951.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RahulVijayam/laravel-ecommerce-project/ffb1a53888c2a9ab8e6a11981506712d17a6b370/public/Uploads/profiles/1615442951.png -------------------------------------------------------------------------------- /public/Uploads/profiles/1615444818.pptx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RahulVijayam/laravel-ecommerce-project/ffb1a53888c2a9ab8e6a11981506712d17a6b370/public/Uploads/profiles/1615444818.pptx -------------------------------------------------------------------------------- /public/Uploads/profiles/1620152901.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RahulVijayam/laravel-ecommerce-project/ffb1a53888c2a9ab8e6a11981506712d17a6b370/public/Uploads/profiles/1620152901.png -------------------------------------------------------------------------------- /public/Uploads/profiles/1636046011.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RahulVijayam/laravel-ecommerce-project/ffb1a53888c2a9ab8e6a11981506712d17a6b370/public/Uploads/profiles/1636046011.jpg -------------------------------------------------------------------------------- /public/assets/css/background.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RahulVijayam/laravel-ecommerce-project/ffb1a53888c2a9ab8e6a11981506712d17a6b370/public/assets/css/background.jpg -------------------------------------------------------------------------------- /public/assets/css/startup.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RahulVijayam/laravel-ecommerce-project/ffb1a53888c2a9ab8e6a11981506712d17a6b370/public/assets/css/startup.jpg -------------------------------------------------------------------------------- /public/assets/css/xzoom.css: -------------------------------------------------------------------------------- 1 | /* Compatibility styles for frameworks like bootstrap, foundation e.t.c */ 2 | .xzoom-source img, .xzoom-preview img, .xzoom-lens img { 3 | display: block; 4 | max-width: none; 5 | max-height: none; 6 | -webkit-transition: none; 7 | -moz-transition: none; 8 | -o-transition: none; 9 | transition: none; 10 | } 11 | /* --------------- */ 12 | 13 | /* xZoom Styles below */ 14 | .xzoom-container { 15 | display: inline-block; 16 | } 17 | 18 | .xzoom-thumbs { 19 | text-align: center; 20 | margin-bottom: 10px; 21 | } 22 | 23 | .xzoom { 24 | -webkit-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.5); 25 | -moz-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.5); 26 | box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.5); 27 | } 28 | .xzoom2, .xzoom3, .xzoom4, .xzoom5 { 29 | -webkit-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.5); 30 | -moz-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.5); 31 | box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.5); 32 | } 33 | 34 | /* Thumbs */ 35 | .xzoom-gallery, .xzoom-gallery2, .xzoom-gallery3, .xzoom-gallery4, .xzoom-gallery5 { 36 | border: 1px solid #cecece; 37 | margin-left: 2px; 38 | margin-bottom: 1px; 39 | } 40 | 41 | .xzoom-source, .xzoom-hidden { 42 | display: block; 43 | position: static; 44 | float: none; 45 | clear: both; 46 | } 47 | 48 | /* Everything out of border is hidden */ 49 | .xzoom-hidden { 50 | overflow: hidden; 51 | } 52 | 53 | /* Preview */ 54 | .xzoom-preview { 55 | border: 1px solid #888; 56 | background: transparent; 57 | box-shadow: -0px -0px 0px rgba(0,0,0,0.50); 58 | } 59 | 60 | /* Lens */ 61 | .xzoom-lens { 62 | border: 1px solid #555; 63 | box-shadow: -0px -0px 10px rgba(0,0,0,0.50); 64 | cursor: crosshair; 65 | } 66 | 67 | /* Loading */ 68 | .xzoom-loading { 69 | background-position: center center; 70 | background-repeat: no-repeat; 71 | border-radius: 100%; 72 | opacity: .7; 73 | background: url(../images/xloading.gif); 74 | width: 48px; 75 | height: 48px; 76 | } 77 | 78 | /* Additional class that applied to thumb when it is active */ 79 | .xactive { 80 | -webkit-box-shadow: 0px 0px 3px 0px rgba(74,169,210,1); 81 | -moz-box-shadow: 0px 0px 3px 0px rgba(74,169,210,1); 82 | box-shadow: 0px 0px 3px 0px rgba(74,169,210,1); 83 | border: 1px solid #4aaad2; 84 | } 85 | 86 | /* Caption */ 87 | .xzoom-caption { 88 | position: absolute; 89 | bottom: -43px; 90 | left: 0; 91 | background: #000; 92 | width: 100%; 93 | text-align: left; 94 | } 95 | 96 | .xzoom-caption span { 97 | color: #fff; 98 | font-family: Arial, sans-serif; 99 | display: block; 100 | font-size: 0.75em; 101 | font-weight: bold; 102 | padding: 10px; 103 | } -------------------------------------------------------------------------------- /public/assets/img/Logo-Square.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RahulVijayam/laravel-ecommerce-project/ffb1a53888c2a9ab8e6a11981506712d17a6b370/public/assets/img/Logo-Square.webp -------------------------------------------------------------------------------- /public/assets/img/Logo.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RahulVijayam/laravel-ecommerce-project/ffb1a53888c2a9ab8e6a11981506712d17a6b370/public/assets/img/Logo.jpg -------------------------------------------------------------------------------- /public/assets/img/Logo.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RahulVijayam/laravel-ecommerce-project/ffb1a53888c2a9ab8e6a11981506712d17a6b370/public/assets/img/Logo.webp -------------------------------------------------------------------------------- /public/assets/img/team/rahul.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RahulVijayam/laravel-ecommerce-project/ffb1a53888c2a9ab8e6a11981506712d17a6b370/public/assets/img/team/rahul.jpg -------------------------------------------------------------------------------- /public/assets/img/testimonials/rahul.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RahulVijayam/laravel-ecommerce-project/ffb1a53888c2a9ab8e6a11981506712d17a6b370/public/assets/img/testimonials/rahul.jpg -------------------------------------------------------------------------------- /public/assets/img/testimonials/sandeep.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RahulVijayam/laravel-ecommerce-project/ffb1a53888c2a9ab8e6a11981506712d17a6b370/public/assets/img/testimonials/sandeep.jpg -------------------------------------------------------------------------------- /public/assets/vendor/owl.carousel/LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2014 Owl 2 | Modified work Copyright 2016-2018 David Deutsch 3 | 4 | Permission is hereby granted, free of charge, to any person 5 | obtaining a copy of this software and associated documentation 6 | files (the "Software"), to deal in the Software without 7 | restriction, including without limitation the rights to use, 8 | copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the 10 | Software is furnished to do so, subject to the following 11 | conditions: 12 | 13 | The above copyright notice and this permission notice shall be 14 | included in all copies or substantial portions of the Software. 15 | 16 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 17 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES 18 | OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 19 | NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT 20 | HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, 21 | WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 22 | FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 23 | OTHER DEALINGS IN THE SOFTWARE. 24 | -------------------------------------------------------------------------------- /public/assets/vendor/owl.carousel/assets/ajax-loader.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RahulVijayam/laravel-ecommerce-project/ffb1a53888c2a9ab8e6a11981506712d17a6b370/public/assets/vendor/owl.carousel/assets/ajax-loader.gif -------------------------------------------------------------------------------- /public/assets/vendor/owl.carousel/assets/owl.carousel.min.css: -------------------------------------------------------------------------------- 1 | /** 2 | * Owl Carousel v2.3.4 3 | * Copyright 2013-2018 David Deutsch 4 | * Licensed under: SEE LICENSE IN https://github.com/OwlCarousel2/OwlCarousel2/blob/master/LICENSE 5 | */ 6 | .owl-carousel,.owl-carousel .owl-item{-webkit-tap-highlight-color:transparent;position:relative}.owl-carousel{display:none;width:100%;z-index:1}.owl-carousel .owl-stage{position:relative;-ms-touch-action:pan-Y;touch-action:manipulation;-moz-backface-visibility:hidden}.owl-carousel .owl-stage:after{content:".";display:block;clear:both;visibility:hidden;line-height:0;height:0}.owl-carousel .owl-stage-outer{position:relative;overflow:hidden;-webkit-transform:translate3d(0,0,0)}.owl-carousel .owl-item,.owl-carousel .owl-wrapper{-webkit-backface-visibility:hidden;-moz-backface-visibility:hidden;-ms-backface-visibility:hidden;-webkit-transform:translate3d(0,0,0);-moz-transform:translate3d(0,0,0);-ms-transform:translate3d(0,0,0)}.owl-carousel .owl-item{min-height:1px;float:left;-webkit-backface-visibility:hidden;-webkit-touch-callout:none}.owl-carousel .owl-item img{display:block;width:100%}.owl-carousel .owl-dots.disabled,.owl-carousel .owl-nav.disabled{display:none}.no-js .owl-carousel,.owl-carousel.owl-loaded{display:block}.owl-carousel .owl-dot,.owl-carousel .owl-nav .owl-next,.owl-carousel .owl-nav .owl-prev{cursor:pointer;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.owl-carousel .owl-nav button.owl-next,.owl-carousel .owl-nav button.owl-prev,.owl-carousel button.owl-dot{background:0 0;color:inherit;border:none;padding:0!important;font:inherit}.owl-carousel.owl-loading{opacity:0;display:block}.owl-carousel.owl-hidden{opacity:0}.owl-carousel.owl-refresh .owl-item{visibility:hidden}.owl-carousel.owl-drag .owl-item{-ms-touch-action:pan-y;touch-action:pan-y;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.owl-carousel.owl-grab{cursor:move;cursor:grab}.owl-carousel.owl-rtl{direction:rtl}.owl-carousel.owl-rtl .owl-item{float:right}.owl-carousel .animated{animation-duration:1s;animation-fill-mode:both}.owl-carousel .owl-animated-in{z-index:0}.owl-carousel .owl-animated-out{z-index:1}.owl-carousel .fadeOut{animation-name:fadeOut}@keyframes fadeOut{0%{opacity:1}100%{opacity:0}}.owl-height{transition:height .5s ease-in-out}.owl-carousel .owl-item .owl-lazy{opacity:0;transition:opacity .4s ease}.owl-carousel .owl-item .owl-lazy:not([src]),.owl-carousel .owl-item .owl-lazy[src^=""]{max-height:0}.owl-carousel .owl-item img.owl-lazy{transform-style:preserve-3d}.owl-carousel .owl-video-wrapper{position:relative;height:100%;background:#000}.owl-carousel .owl-video-play-icon{position:absolute;height:80px;width:80px;left:50%;top:50%;margin-left:-40px;margin-top:-40px;background:url(owl.video.play.png) no-repeat;cursor:pointer;z-index:1;-webkit-backface-visibility:hidden;transition:transform .1s ease}.owl-carousel .owl-video-play-icon:hover{-ms-transform:scale(1.3,1.3);transform:scale(1.3,1.3)}.owl-carousel .owl-video-playing .owl-video-play-icon,.owl-carousel .owl-video-playing .owl-video-tn{display:none}.owl-carousel .owl-video-tn{opacity:0;height:100%;background-position:center center;background-repeat:no-repeat;background-size:contain;transition:opacity .4s ease}.owl-carousel .owl-video-frame{position:relative;z-index:1;height:100%;width:100%} -------------------------------------------------------------------------------- /public/assets/vendor/owl.carousel/assets/owl.theme.default.css: -------------------------------------------------------------------------------- 1 | /** 2 | * Owl Carousel v2.3.4 3 | * Copyright 2013-2018 David Deutsch 4 | * Licensed under: SEE LICENSE IN https://github.com/OwlCarousel2/OwlCarousel2/blob/master/LICENSE 5 | */ 6 | /* 7 | * Default theme - Owl Carousel CSS File 8 | */ 9 | .owl-theme .owl-nav { 10 | margin-top: 10px; 11 | text-align: center; 12 | -webkit-tap-highlight-color: transparent; } 13 | .owl-theme .owl-nav [class*='owl-'] { 14 | color: #FFF; 15 | font-size: 14px; 16 | margin: 5px; 17 | padding: 4px 7px; 18 | background: #D6D6D6; 19 | display: inline-block; 20 | cursor: pointer; 21 | border-radius: 3px; } 22 | .owl-theme .owl-nav [class*='owl-']:hover { 23 | background: #869791; 24 | color: #FFF; 25 | text-decoration: none; } 26 | .owl-theme .owl-nav .disabled { 27 | opacity: 0.5; 28 | cursor: default; } 29 | 30 | .owl-theme .owl-nav.disabled + .owl-dots { 31 | margin-top: 10px; } 32 | 33 | .owl-theme .owl-dots { 34 | text-align: center; 35 | -webkit-tap-highlight-color: transparent; } 36 | .owl-theme .owl-dots .owl-dot { 37 | display: inline-block; 38 | zoom: 1; 39 | *display: inline; } 40 | .owl-theme .owl-dots .owl-dot span { 41 | width: 10px; 42 | height: 10px; 43 | margin: 5px 7px; 44 | background: #D6D6D6; 45 | display: block; 46 | -webkit-backface-visibility: visible; 47 | transition: opacity 200ms ease; 48 | border-radius: 30px; } 49 | .owl-theme .owl-dots .owl-dot.active span, .owl-theme .owl-dots .owl-dot:hover span { 50 | background: #869791; } 51 | -------------------------------------------------------------------------------- /public/assets/vendor/owl.carousel/assets/owl.theme.default.min.css: -------------------------------------------------------------------------------- 1 | /** 2 | * Owl Carousel v2.3.4 3 | * Copyright 2013-2018 David Deutsch 4 | * Licensed under: SEE LICENSE IN https://github.com/OwlCarousel2/OwlCarousel2/blob/master/LICENSE 5 | */ 6 | .owl-theme .owl-dots,.owl-theme .owl-nav{text-align:center;-webkit-tap-highlight-color:transparent}.owl-theme .owl-nav{margin-top:10px}.owl-theme .owl-nav [class*=owl-]{color:#FFF;font-size:14px;margin:5px;padding:4px 7px;background:#D6D6D6;display:inline-block;cursor:pointer;border-radius:3px}.owl-theme .owl-nav [class*=owl-]:hover{background:#869791;color:#FFF;text-decoration:none}.owl-theme .owl-nav .disabled{opacity:.5;cursor:default}.owl-theme .owl-nav.disabled+.owl-dots{margin-top:10px}.owl-theme .owl-dots .owl-dot{display:inline-block;zoom:1}.owl-theme .owl-dots .owl-dot span{width:10px;height:10px;margin:5px 7px;background:#D6D6D6;display:block;-webkit-backface-visibility:visible;transition:opacity .2s ease;border-radius:30px}.owl-theme .owl-dots .owl-dot.active span,.owl-theme .owl-dots .owl-dot:hover span{background:#869791} -------------------------------------------------------------------------------- /public/assets/vendor/owl.carousel/assets/owl.theme.green.css: -------------------------------------------------------------------------------- 1 | /** 2 | * Owl Carousel v2.3.4 3 | * Copyright 2013-2018 David Deutsch 4 | * Licensed under: SEE LICENSE IN https://github.com/OwlCarousel2/OwlCarousel2/blob/master/LICENSE 5 | */ 6 | /* 7 | * Green theme - Owl Carousel CSS File 8 | */ 9 | .owl-theme .owl-nav { 10 | margin-top: 10px; 11 | text-align: center; 12 | -webkit-tap-highlight-color: transparent; } 13 | .owl-theme .owl-nav [class*='owl-'] { 14 | color: #FFF; 15 | font-size: 14px; 16 | margin: 5px; 17 | padding: 4px 7px; 18 | background: #D6D6D6; 19 | display: inline-block; 20 | cursor: pointer; 21 | border-radius: 3px; } 22 | .owl-theme .owl-nav [class*='owl-']:hover { 23 | background: #4DC7A0; 24 | color: #FFF; 25 | text-decoration: none; } 26 | .owl-theme .owl-nav .disabled { 27 | opacity: 0.5; 28 | cursor: default; } 29 | 30 | .owl-theme .owl-nav.disabled + .owl-dots { 31 | margin-top: 10px; } 32 | 33 | .owl-theme .owl-dots { 34 | text-align: center; 35 | -webkit-tap-highlight-color: transparent; } 36 | .owl-theme .owl-dots .owl-dot { 37 | display: inline-block; 38 | zoom: 1; 39 | *display: inline; } 40 | .owl-theme .owl-dots .owl-dot span { 41 | width: 10px; 42 | height: 10px; 43 | margin: 5px 7px; 44 | background: #D6D6D6; 45 | display: block; 46 | -webkit-backface-visibility: visible; 47 | transition: opacity 200ms ease; 48 | border-radius: 30px; } 49 | .owl-theme .owl-dots .owl-dot.active span, .owl-theme .owl-dots .owl-dot:hover span { 50 | background: #4DC7A0; } 51 | -------------------------------------------------------------------------------- /public/assets/vendor/owl.carousel/assets/owl.theme.green.min.css: -------------------------------------------------------------------------------- 1 | /** 2 | * Owl Carousel v2.3.4 3 | * Copyright 2013-2018 David Deutsch 4 | * Licensed under: SEE LICENSE IN https://github.com/OwlCarousel2/OwlCarousel2/blob/master/LICENSE 5 | */ 6 | .owl-theme .owl-dots,.owl-theme .owl-nav{text-align:center;-webkit-tap-highlight-color:transparent}.owl-theme .owl-nav{margin-top:10px}.owl-theme .owl-nav [class*=owl-]{color:#FFF;font-size:14px;margin:5px;padding:4px 7px;background:#D6D6D6;display:inline-block;cursor:pointer;border-radius:3px}.owl-theme .owl-nav [class*=owl-]:hover{background:#4DC7A0;color:#FFF;text-decoration:none}.owl-theme .owl-nav .disabled{opacity:.5;cursor:default}.owl-theme .owl-nav.disabled+.owl-dots{margin-top:10px}.owl-theme .owl-dots .owl-dot{display:inline-block;zoom:1}.owl-theme .owl-dots .owl-dot span{width:10px;height:10px;margin:5px 7px;background:#D6D6D6;display:block;-webkit-backface-visibility:visible;transition:opacity .2s ease;border-radius:30px}.owl-theme .owl-dots .owl-dot.active span,.owl-theme .owl-dots .owl-dot:hover span{background:#4DC7A0} -------------------------------------------------------------------------------- /public/assets/vendor/owl.carousel/assets/owl.video.play.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RahulVijayam/laravel-ecommerce-project/ffb1a53888c2a9ab8e6a11981506712d17a6b370/public/assets/vendor/owl.carousel/assets/owl.video.play.png -------------------------------------------------------------------------------- /public/css/responsivecode.css: -------------------------------------------------------------------------------- 1 | 2 | @media (max-width: 768px) 3 | { 4 | 5 | .mobile-nav-toggle 6 | { 7 | display:block; 8 | } 9 | #slide_show_in_desktop_mode 10 | { 11 | display:none; 12 | } 13 | #slide_show_in_mobile_mode 14 | { 15 | display:block; 16 | } 17 | #teaminthedesktopmode 18 | { 19 | display: none; 20 | } 21 | #teaminthemobilemode 22 | { 23 | display:block; 24 | } 25 | #testimonialsdesktopmode 26 | { 27 | display: none; 28 | } 29 | #testimonialsmobilemode 30 | { 31 | display:block; 32 | } 33 | #developedbybtaoteam 34 | { 35 | text-align:center; 36 | } 37 | .hide 38 | { 39 | display:none; 40 | } 41 | #userdashboardcontent 42 | { 43 | margin-top:-20%; 44 | } 45 | 46 | #mytransactionsindesktopmode 47 | { 48 | display: none; 49 | } 50 | #mytransactionsinmobilemode 51 | { 52 | display:block; 53 | } 54 | 55 | #allproductinthehorizontalnavlist 56 | { 57 | display: none; 58 | } 59 | #ordersindesktopmode 60 | { 61 | display: none; 62 | } 63 | #ordersinmobilemode 64 | { 65 | display:block; 66 | } 67 | 68 | .hide 69 | { 70 | display:none; 71 | } 72 | #featuredproductsinmobilemode 73 | { 74 | display: show; 75 | } 76 | #featuredproductsindesktopmode 77 | { 78 | display: none; 79 | } 80 | #rightsidenavlinks 81 | { 82 | display: none; 83 | } 84 | .navbar-brand 85 | { 86 | margin-right: 35%; 87 | } 88 | .slideshowimage 89 | { 90 | height:130px; 91 | } 92 | 93 | } 94 | 95 | 96 | @media (min-width: 768px) 97 | { 98 | 99 | #order_summary 100 | { 101 | margin-left:25%; 102 | } 103 | #shipping_and_returns 104 | { 105 | margin-top:-20px; 106 | margin-left: 20%; 107 | } 108 | 109 | .mobile-nav-toggle 110 | { 111 | display:none; 112 | } 113 | #slide_show_in_desktop_mode 114 | { 115 | display:block; 116 | } 117 | #slide_show_in_mobile_mode 118 | { 119 | display:none; 120 | } 121 | #teaminthedesktopmode 122 | { 123 | display: block; 124 | } 125 | #teaminthemobilemode 126 | { 127 | display:none; 128 | } 129 | 130 | #testimonialsdesktopmode 131 | { 132 | display: block; 133 | } 134 | #testimonialsmobilemode 135 | { 136 | display:none; 137 | } 138 | #developedbybtaoteam 139 | { 140 | text-align:right; 141 | } 142 | #helpcenterindesktopmode{ 143 | display:block; 144 | } 145 | #helpcenterinmobilemode{ 146 | display:none; 147 | } 148 | #mytransactionsindesktopmode 149 | { 150 | display: block; 151 | } 152 | #mytransactionsinmobilemode 153 | { 154 | display:none; 155 | } 156 | #ordersindesktopmode 157 | { 158 | display: block; 159 | } 160 | #ordersinmobilemode 161 | { 162 | display:none; 163 | } 164 | #featuredproductsinmobilemode 165 | { 166 | display: none; 167 | } 168 | #featuredproductsindesktopmode 169 | { 170 | display: show; 171 | } 172 | .callinthemobilemode 173 | { 174 | display: none; 175 | } 176 | 177 | } 178 | -------------------------------------------------------------------------------- /public/css/sidebar.css: -------------------------------------------------------------------------------- 1 | 2 | .sidenav { 3 | height: 100%; 4 | width: 0; 5 | position: fixed; 6 | z-index: 1; 7 | top: 0; 8 | left: 0; 9 | background-color: #111; 10 | overflow-x: hidden; 11 | transition: 0.5s; 12 | padding-top: 60px; 13 | } 14 | 15 | .sidenav a { 16 | padding: 8px 8px 8px 32px; 17 | text-decoration: none; 18 | font-size: 25px; 19 | color: #818181; 20 | display: block; 21 | transition: 0.3s; 22 | } 23 | 24 | .sidenav a:hover { 25 | color: #f1f1f1; 26 | } 27 | 28 | .sidenav .closebtn { 29 | position: absolute; 30 | top: 0; 31 | right: 25px; 32 | font-size: 36px; 33 | margin-left: 50px; 34 | } 35 | 36 | @media screen and (max-height: 450px) { 37 | .sidenav {padding-top: 15px;} 38 | .sidenav a {font-size: 18px;} 39 | } -------------------------------------------------------------------------------- /public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RahulVijayam/laravel-ecommerce-project/ffb1a53888c2a9ab8e6a11981506712d17a6b370/public/favicon.ico -------------------------------------------------------------------------------- /public/index.php: -------------------------------------------------------------------------------- 1 | 8 | */ 9 | 10 | define('LARAVEL_START', microtime(true)); 11 | 12 | /* 13 | |-------------------------------------------------------------------------- 14 | | Register The Auto Loader 15 | |-------------------------------------------------------------------------- 16 | | 17 | | Composer provides a convenient, automatically generated class loader for 18 | | our application. We just need to utilize it! We'll simply require it 19 | | into the script here so that we don't have to worry about manual 20 | | loading any of our classes later on. It feels great to relax. 21 | | 22 | */ 23 | 24 | require __DIR__.'/../vendor/autoload.php'; 25 | 26 | /* 27 | |-------------------------------------------------------------------------- 28 | | Turn On The Lights 29 | |-------------------------------------------------------------------------- 30 | | 31 | | We need to illuminate PHP development, so let us turn on the lights. 32 | | This bootstraps the framework and gets it ready for use, then it 33 | | will load up this application so that we can run it and send 34 | | the responses back to the browser and delight our users. 35 | | 36 | */ 37 | 38 | $app = require_once __DIR__.'/../bootstrap/app.php'; 39 | 40 | /* 41 | |-------------------------------------------------------------------------- 42 | | Run The Application 43 | |-------------------------------------------------------------------------- 44 | | 45 | | Once we have the application, we can handle the incoming request 46 | | through the kernel, and send the associated response back to 47 | | the client's browser allowing them to enjoy the creative 48 | | and wonderful application we have prepared for them. 49 | | 50 | */ 51 | 52 | $kernel = $app->make(Illuminate\Contracts\Http\Kernel::class); 53 | 54 | $response = $kernel->handle( 55 | $request = Illuminate\Http\Request::capture() 56 | ); 57 | 58 | $response->send(); 59 | 60 | $kernel->terminate($request, $response); 61 | -------------------------------------------------------------------------------- /public/js/main.js: -------------------------------------------------------------------------------- 1 | /*Jquery*/ 2 | 3 | $( document ).ready(function() { 4 | new WOW().init(); 5 | }); 6 | /*Adding Multiple Animations Using Jquery*/ 7 | $( ".wow" ).addClass( "fadeInUp" ); 8 | 9 | /* Jquery Animation When we use scroll down*/ 10 | $(window).scroll(function() { 11 | $(".slideanim").each(function(){ 12 | var pos = $(this).offset().top; 13 | 14 | var winTop = $(window).scrollTop(); 15 | if (pos < winTop + 600) { 16 | $(this).addClass("slide"); 17 | } 18 | }); 19 | }); 20 | 21 | 22 | 23 | 24 | /*Jquery*/ -------------------------------------------------------------------------------- /public/slideshow/Mobile/1.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RahulVijayam/laravel-ecommerce-project/ffb1a53888c2a9ab8e6a11981506712d17a6b370/public/slideshow/Mobile/1.webp -------------------------------------------------------------------------------- /public/slideshow/Mobile/2.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RahulVijayam/laravel-ecommerce-project/ffb1a53888c2a9ab8e6a11981506712d17a6b370/public/slideshow/Mobile/2.webp -------------------------------------------------------------------------------- /public/slideshow/Mobile/3.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RahulVijayam/laravel-ecommerce-project/ffb1a53888c2a9ab8e6a11981506712d17a6b370/public/slideshow/Mobile/3.webp -------------------------------------------------------------------------------- /public/slideshow/Mobile/4.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RahulVijayam/laravel-ecommerce-project/ffb1a53888c2a9ab8e6a11981506712d17a6b370/public/slideshow/Mobile/4.webp -------------------------------------------------------------------------------- /public/slideshow/slide1-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RahulVijayam/laravel-ecommerce-project/ffb1a53888c2a9ab8e6a11981506712d17a6b370/public/slideshow/slide1-1.png -------------------------------------------------------------------------------- /public/slideshow/slide1-2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RahulVijayam/laravel-ecommerce-project/ffb1a53888c2a9ab8e6a11981506712d17a6b370/public/slideshow/slide1-2.png -------------------------------------------------------------------------------- /public/slideshow/slide2-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RahulVijayam/laravel-ecommerce-project/ffb1a53888c2a9ab8e6a11981506712d17a6b370/public/slideshow/slide2-1.png -------------------------------------------------------------------------------- /public/slideshow/slide2-2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RahulVijayam/laravel-ecommerce-project/ffb1a53888c2a9ab8e6a11981506712d17a6b370/public/slideshow/slide2-2.png -------------------------------------------------------------------------------- /public/slideshow/slide3-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RahulVijayam/laravel-ecommerce-project/ffb1a53888c2a9ab8e6a11981506712d17a6b370/public/slideshow/slide3-1.png -------------------------------------------------------------------------------- /public/slideshow/slide3-2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RahulVijayam/laravel-ecommerce-project/ffb1a53888c2a9ab8e6a11981506712d17a6b370/public/slideshow/slide3-2.png -------------------------------------------------------------------------------- /public/sql/users.sql: -------------------------------------------------------------------------------- 1 | -- phpMyAdmin SQL Dump 2 | -- version 5.1.1 3 | -- https://www.phpmyadmin.net/ 4 | -- 5 | -- Host: 127.0.0.1 6 | -- Generation Time: Nov 13, 2021 at 01:18 AM 7 | -- Server version: 10.4.20-MariaDB 8 | -- PHP Version: 7.4.22 9 | 10 | SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; 11 | START TRANSACTION; 12 | SET time_zone = "+00:00"; 13 | 14 | 15 | /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; 16 | /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; 17 | /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; 18 | /*!40101 SET NAMES utf8mb4 */; 19 | 20 | -- 21 | -- Database: `gainaloe` 22 | -- 23 | 24 | -- -------------------------------------------------------- 25 | 26 | -- 27 | -- Table structure for table `users` 28 | -- 29 | 30 | CREATE TABLE `users` ( 31 | `id` bigint(20) UNSIGNED NOT NULL, 32 | `name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, 33 | `email` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, 34 | `email_verified_at` timestamp NULL DEFAULT NULL, 35 | `image` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, 36 | `address1` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, 37 | `address2` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, 38 | `city` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, 39 | `pincode` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, 40 | `state` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, 41 | `country` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, 42 | `mnumber` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, 43 | `alternativemno` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, 44 | `password` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, 45 | `role` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'user', 46 | `status` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '1', 47 | `remember_token` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL, 48 | `created_at` timestamp NULL DEFAULT NULL, 49 | `updated_at` timestamp NULL DEFAULT NULL 50 | ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; 51 | 52 | -- 53 | -- Dumping data for table `users` 54 | -- 55 | 56 | INSERT INTO `users` (`id`, `name`, `email`, `email_verified_at`, `image`, `address1`, `address2`, `city`, `pincode`, `state`, `country`, `mnumber`, `alternativemno`, `password`, `role`, `status`, `remember_token`, `created_at`, `updated_at`) VALUES 57 | (1, 'Vijayanagaram Rahul', 'rahulvijayanagaram@gmail.com', NULL, '1636046011.jpg', '18-1-265', 'fdcv', 'Anantapur', '515001', 'Andhra Pradesh', 'India', '9177889021', NULL, '$2y$10$MXBqo32Xo3zroC3qzdijLOLRJRtExrQhunD73N6DhTpI7uQIoN76O', 'admin', '1', NULL, '2021-11-04 11:09:03', '2021-11-12 11:09:54'); 58 | 59 | -- 60 | -- Indexes for dumped tables 61 | -- 62 | 63 | -- 64 | -- Indexes for table `users` 65 | -- 66 | ALTER TABLE `users` 67 | ADD PRIMARY KEY (`id`), 68 | ADD UNIQUE KEY `users_email_unique` (`email`); 69 | 70 | -- 71 | -- AUTO_INCREMENT for dumped tables 72 | -- 73 | 74 | -- 75 | -- AUTO_INCREMENT for table `users` 76 | -- 77 | ALTER TABLE `users` 78 | MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2; 79 | COMMIT; 80 | 81 | /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; 82 | /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; 83 | /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; 84 | -------------------------------------------------------------------------------- /public/web.config: -------------------------------------------------------------------------------- 1 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | -------------------------------------------------------------------------------- /readme.md: -------------------------------------------------------------------------------- 1 |

Laravel Ecommerce Project

2 | 3 | 4 | 5 | ## Laravel Ecommerce Project with Complete Source Code 6 | 7 | The Laravel Ecommerce Project with Complete Source Code is a PHP-based web application, For a detailed features, and functionalities of the Laravel Ecommerce Project, please visit my blog 👇
8 | 🌐 http://rahulvijayam.com/laravel-ecommerce-project-complete-source-code 9 | 10 | ## Features 11 | - User Dashboard 12 | - Admin Dashboard 13 | - Mobile-Friendly Website 14 | - 3 Step Booking Process 15 | - Order Tracking 16 | - Email Notifications 17 | - Subscriber Form 18 | - A product search form 19 | - Payment Gateway(PayU) Integrated 20 | - Shopping Cart in a Responsive Layout 21 | - Pre-Defined Content with High-Resolution Photos 22 | - Search engine optimization (SEO) for Products 23 | - Recommendations and related products in our categories 24 | 25 | ## Requirements 26 | - Laravel <=5.8 27 | - PHP <= 7.1.3 28 | - Composer Version 2 29 | ## Installation Steps 30 | 31 | 1. composer create-project rahulvijayam/ecommerce 32 | 2. Create database for your project with the name as gainaloe 33 | 3. Now Run php artisan migrate command for creating all the tables 34 | 4. Add your email credentials in .env file 35 | 5. Add PayuMoney merchant key and salt on config/indipay.php file at line number 30 and 31 36 | 6. Start yor project using php artisan serve 37 | 38 | ## Generate Sample Data ( Optional) 39 | 1. Remove tables(products, users) from the database. 40 | 2. Run two files present in this link https://github.com/RahulVijayam/ecommerce/tree/master/public/sql on your database 41 | 3. Finished, Now Check it in your browser using http://127.0.0.1:8000 42 | 43 | ### Dashboard Details 44 | - Admin : http://127.0.0.1:8000/admin-dash 45 | - Login Id : rahulvijayanagaram@gmail.com 46 | - Password : 111111111 47 | - User : http://127.0.0.1:8000/dashboard 48 | 49 | ### Watch Video 50 | [![Everything Is AWESOME](https://user-images.githubusercontent.com/36434065/141663839-bb06d652-1be7-4124-b3ba-76e6354bf456.png)](https://www.youtube.com/watch?v=TRr5OQ3YVIE "Watch Video") 51 | 52 | ## Security Vulnerabilities 53 | 54 | If you discover a security vulnerability within project, please send an e-mail to me via [contact@rahulvijayam.com](mailto:contact@rahulvijayam.com). All security vulnerabilities will be promptly addressed. 55 | 56 | ## License 57 | 58 | The project developed using laravel framework is open-source software licensed under the [MIT license](https://opensource.org/licenses/MIT). 59 | -------------------------------------------------------------------------------- /resources/js/app.js: -------------------------------------------------------------------------------- 1 | /** 2 | * First we will load all of this project's JavaScript dependencies which 3 | * includes Vue and other libraries. It is a great starting point when 4 | * building robust, powerful web applications using Vue and Laravel. 5 | */ 6 | 7 | require('./bootstrap'); 8 | 9 | window.Vue = require('vue'); 10 | 11 | /** 12 | * The following block of code may be used to automatically register your 13 | * Vue components. It will recursively scan this directory for the Vue 14 | * components and automatically register them with their "basename". 15 | * 16 | * Eg. ./components/ExampleComponent.vue -> 17 | */ 18 | 19 | // const files = require.context('./', true, /\.vue$/i); 20 | // files.keys().map(key => Vue.component(key.split('/').pop().split('.')[0], files(key).default)); 21 | 22 | Vue.component('example-component', require('./components/ExampleComponent.vue').default); 23 | 24 | /** 25 | * Next, we will create a fresh Vue application instance and attach it to 26 | * the page. Then, you may begin adding components to this application 27 | * or customize the JavaScript scaffolding to fit your unique needs. 28 | */ 29 | 30 | const app = new Vue({ 31 | el: '#app', 32 | }); 33 | -------------------------------------------------------------------------------- /resources/js/bootstrap.js: -------------------------------------------------------------------------------- 1 | window._ = require('lodash'); 2 | 3 | /** 4 | * We'll load jQuery and the Bootstrap jQuery plugin which provides support 5 | * for JavaScript based Bootstrap features such as modals and tabs. This 6 | * code may be modified to fit the specific needs of your application. 7 | */ 8 | 9 | try { 10 | window.Popper = require('popper.js').default; 11 | window.$ = window.jQuery = require('jquery'); 12 | 13 | require('bootstrap'); 14 | } catch (e) {} 15 | 16 | /** 17 | * We'll load the axios HTTP library which allows us to easily issue requests 18 | * to our Laravel back-end. This library automatically handles sending the 19 | * CSRF token as a header based on the value of the "XSRF" token cookie. 20 | */ 21 | 22 | window.axios = require('axios'); 23 | 24 | window.axios.defaults.headers.common['X-Requested-With'] = 'XMLHttpRequest'; 25 | 26 | /** 27 | * Echo exposes an expressive API for subscribing to channels and listening 28 | * for events that are broadcast by Laravel. Echo and event broadcasting 29 | * allows your team to easily build robust real-time web applications. 30 | */ 31 | 32 | // import Echo from 'laravel-echo'; 33 | 34 | // window.Pusher = require('pusher-js'); 35 | 36 | // window.Echo = new Echo({ 37 | // broadcaster: 'pusher', 38 | // key: process.env.MIX_PUSHER_APP_KEY, 39 | // cluster: process.env.MIX_PUSHER_APP_CLUSTER, 40 | // encrypted: true 41 | // }); 42 | -------------------------------------------------------------------------------- /resources/js/components/ExampleComponent.vue: -------------------------------------------------------------------------------- 1 | 16 | 17 | 24 | -------------------------------------------------------------------------------- /resources/lang/en/auth.php: -------------------------------------------------------------------------------- 1 | 'These credentials do not match our records.', 17 | 'throttle' => 'Too many login attempts. Please try again in :seconds seconds.', 18 | 19 | ]; 20 | -------------------------------------------------------------------------------- /resources/lang/en/pagination.php: -------------------------------------------------------------------------------- 1 | '« Previous', 17 | 'next' => 'Next »', 18 | 19 | ]; 20 | -------------------------------------------------------------------------------- /resources/lang/en/passwords.php: -------------------------------------------------------------------------------- 1 | 'Passwords must be at least eight characters and match the confirmation.', 17 | 'reset' => 'Your password has been reset!', 18 | 'sent' => 'We have e-mailed your password reset link!', 19 | 'token' => 'This password reset token is invalid.', 20 | 'user' => "We can't find a user with that e-mail address.", 21 | 22 | ]; 23 | -------------------------------------------------------------------------------- /resources/sass/_variables.scss: -------------------------------------------------------------------------------- 1 | // Body 2 | $body-bg: #f8fafc; 3 | 4 | // Typography 5 | $font-family-sans-serif: 'Nunito', sans-serif; 6 | $font-size-base: 0.9rem; 7 | $line-height-base: 1.6; 8 | 9 | // Colors 10 | $blue: #3490dc; 11 | $indigo: #6574cd; 12 | $purple: #9561e2; 13 | $pink: #f66d9b; 14 | $red: #e3342f; 15 | $orange: #f6993f; 16 | $yellow: #ffed4a; 17 | $green: #38c172; 18 | $teal: #4dc0b5; 19 | $cyan: #6cb2eb; 20 | -------------------------------------------------------------------------------- /resources/sass/app.scss: -------------------------------------------------------------------------------- 1 | // Fonts 2 | @import url('https://fonts.googleapis.com/css?family=Nunito'); 3 | 4 | // Variables 5 | @import 'variables'; 6 | 7 | // Bootstrap 8 | @import '~bootstrap/scss/bootstrap'; 9 | -------------------------------------------------------------------------------- /resources/views/Product-Order-Screens/Cart.blade.php: -------------------------------------------------------------------------------- 1 | @extends('layout') 2 | @section('title') Gainloe @endsection 3 | @section('keywords') Home,About,Contact,Car @endsection 4 | @section('description') Write some descripton about the webpage @endsection 5 | @section('content') 6 | 7 | 33 | 34 |
35 |
Home> Cart
36 | 37 |
38 | 39 | 40 | 41 |
42 | @include('components.cartindesktopmode') 43 |
44 | 45 |
46 | @include('components.cartinmobilemode') 47 |
48 | 49 | 50 | @endsection -------------------------------------------------------------------------------- /resources/views/Product-Order-Screens/response.blade.php: -------------------------------------------------------------------------------- 1 | @extends('layout') 2 | @section('title') Gainloe @endsection 3 | @section('keywords') Home,About,Contact,Car @endsection 4 | @section('description') Write some descripton about the webpage @endsection 5 | @section('content') 6 | 7 | 8 | 9 | @if(session('payment_failure')) 10 | 17 | @endif 18 |
19 |
20 | 21 |

22 |

Please Try Again

23 | Try Again 24 | Back To Home Page 25 | 26 | 27 |
28 |
29 | 30 | 31 | 32 | 33 | 66 | 67 | 68 | @endsection -------------------------------------------------------------------------------- /resources/views/Reusable_components/admin/footer.blade.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 26 | 27 | -------------------------------------------------------------------------------- /resources/views/Reusable_components/admin/header.blade.php: -------------------------------------------------------------------------------- 1 | 2 | 58 | -------------------------------------------------------------------------------- /resources/views/S_AND_R.blade.php: -------------------------------------------------------------------------------- 1 | @extends('layout') 2 | @section('title') Gainloe - FAQ'S @endsection 3 | @section('keywords') Home,About,Contact,Car @endsection 4 | @section('description') Write some descripton about the webpage @endsection 5 | @section('content') 6 |
7 |

Shipping & Returns

8 | 9 |

Gainaloe will give more priority to the customer's happiness.We deliver the orders at the best quality with the best pricing

10 |
11 |
12 | Card image cap 13 |
14 | 15 |
16 | 17 |

18 | 19 |

    20 |
  • Customers should be responsible for what they are ordering.
  • 21 |
  • If you notice any delay in the delivery of your order, please be patient. Due to some technical issues, it happens rarely. You will receive your order within 3-5 working days.
  • 22 |
  • We will deliver your order to the address that you provided, while placing the order.
  • 23 |
  • If there any damage occurs to the product in the process of delivering your order. We will replace it as soon as possible.
  • 24 |
  • Currently, COD is Not Available for any Orders.
  • 25 |
  • You can cancel your Order at any time, within 24 hours from the Order Delivered.
  • 26 |
  • When the order is delivered, Customers are not permitted to reject their order unless if any damage occurs.
  • 27 |
  • If you cancelled your order, Refund will be done within 2-3 working days.
  • 28 |
  • For any enquiry regarding your order you can directly contact us by using the contact us page “link”.
  • 29 | 30 |
31 | 32 |

33 |
34 |
35 |
36 | @endsection -------------------------------------------------------------------------------- /resources/views/auth/passwords/email.blade.php: -------------------------------------------------------------------------------- 1 | @extends('layouts.app') 2 | @section('title') 3 | Reset Your Password - Lento Prints 4 | @endsection 5 | 6 | @section('keywords') 7 | 8 | @endsection 9 | 10 | @section('description') 11 | You Can Reset you password 12 | 13 | @endsection 14 | 15 | 16 | @section('content') 17 |
18 | 19 |
20 | 21 | 22 | 23 |
24 |
Reset Your Password
25 |
26 |
27 |
28 | @csrf 29 | 30 |
31 | 32 | 33 | 34 | @error('email') 35 | 36 | {{ $message }} 37 | 38 | @enderror 39 |
40 |
41 | 42 | 43 |
44 | 47 |
48 | 49 | 50 |
51 | or 52 |

53 | 54 | 55 | Back to Gainloe 56 | 57 |

58 |
59 |
60 |
61 | @if (session('status')) 62 | 65 | @endif 66 |
67 | 68 |
69 |
70 |
71 | 72 | 73 | @endsection 74 | -------------------------------------------------------------------------------- /resources/views/auth/passwords/reset.blade.php: -------------------------------------------------------------------------------- 1 | @extends('layouts.app') 2 | @section('title') 3 | Reset Your Password - Gainloe 4 | @endsection 5 | 6 | @section('keywords') 7 | 8 | @endsection 9 | 10 | @section('description') 11 | You Can Reset you password 12 | 13 | @endsection 14 | 15 | 16 | @section('content') 17 | 18 |
19 | 20 |
21 | 22 | 23 | 24 |
25 |
Reset Password
26 |
27 |
28 |
29 | @csrf 30 | 31 | 32 | 33 | 34 |
35 | 36 | 37 | @error('email') 38 | 39 | {{ $message }} 40 | 41 | @enderror 42 |
43 | 44 |
45 | 46 | 47 | @error('password') 48 | 49 | {{ $message }} 50 | 51 | @enderror 52 |
53 |
54 | 55 |
56 | 57 |
58 | 61 |
62 | 63 |
64 |
65 | or 66 |

67 | 68 | 69 | Back to Gainloe 70 | 71 |

72 |
73 |
74 |
75 |
76 | 77 | 78 | @endsection 79 | -------------------------------------------------------------------------------- /resources/views/auth/verify.blade.php: -------------------------------------------------------------------------------- 1 | @extends('layouts.app') 2 | 3 | @section('content') 4 |
5 |
6 |
7 |
8 |
{{ __('Verify Your Email Address') }}
9 | 10 |
11 | @if (session('resent')) 12 | 15 | @endif 16 | 17 | {{ __('Before proceeding, please check your email for a verification link.') }} 18 | {{ __('If you did not receive the email') }}, {{ __('click here to request another') }}. 19 |
20 |
21 |
22 |
23 |
24 | @endsection 25 | -------------------------------------------------------------------------------- /resources/views/components/admin/mytransactionsindesktopmode.blade.php: -------------------------------------------------------------------------------- 1 |
2 |

My Transactions

3 |
4 |
5 |
6 |
7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | @php 18 | $email= Auth::user()->email; 19 | $Orders=App\Models\Transaction::paginate(10); 20 | @endphp 21 | 22 | @foreach ($Orders as $item) 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | @endforeach 39 | 40 | 41 | 42 |
TXIDOrder_IdAmountStatus
{{$item->TXNID}}{{$item->Oder_No}}{{$item->amount}}{{$item->status}}
43 |
44 |
45 |
46 |
47 |

48 | {{ $Orders->links()}} -------------------------------------------------------------------------------- /resources/views/components/admin/mytransactionsinmobilemode.blade.php: -------------------------------------------------------------------------------- 1 |
2 |

My Payments

3 |
4 | 5 |
6 | 7 | @php 8 | $email= Auth::user()->email; 9 | $Orders=App\Models\Transaction::paginate(10); 10 | @endphp 11 | 12 | @foreach ($Orders as $item) 13 |
14 |
15 |
16 |
    17 |
  • Order Id: {{$item->Oder_No}}
  • 18 |
  • TXID: TXNID?>
  • 19 | 20 |
  • Amount: amount?>
  • 21 | 22 |
  • Payment Status: {{$item->Status}}
  • 23 |
24 | 25 | 26 | 27 |
28 |
29 | @endforeach 30 | 31 | 32 | 33 | 34 | 35 | 36 |
37 |
38 |
39 |
{{ $Orders->links()}} -------------------------------------------------------------------------------- /resources/views/components/admin/ordersindesktopmode.blade.php: -------------------------------------------------------------------------------- 1 |
2 |

All Orders

3 |
4 | 5 |
6 |
7 |
8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | @php 20 | $email= Auth::user()->email; 21 | $Orders=App\Models\Order::paginate(5); 22 | @endphp 23 | 24 | @foreach ($Orders as $item) 25 | 26 | 27 | 28 | 29 | 30 | 31 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | @endforeach 51 | 52 | 53 | 54 |
Order_IdOrder DetailsDelivery AddressTotal PriceAction
{{$item->id}}Order_Details?>Delivery_Address ?>{{$item->Amount}} 32 | 33 | Check Status 34 | 35 | @if($item->Delivery_Status!='pending' || $item->Order_Cancel_Status==1) 36 | Cancel Order 37 | @else 38 | Cancel Order 39 | 40 | @endif 41 | 42 |
55 |
56 |
57 |
58 |
59 |
60 |

61 | {{ $Orders->links()}}

62 |
63 |
64 | 65 |
66 |

-------------------------------------------------------------------------------- /resources/views/components/admin/ordersinmobilemode.blade.php: -------------------------------------------------------------------------------- 1 |
2 |

My Previous Orders

3 |
4 | @php 5 | $email= Auth::user()->email; 6 | $Orders=App\Models\Order::where('Customer_Emailid','=',$email)->get(); 7 | @endphp 8 | 9 | @foreach ($Orders as $item) 10 |
11 |
12 | 13 |

14 | OID: {{$item->id}} 15 |
16 |

17 | 18 | 19 | 20 |
21 | Order Details: Order_Details?> 22 |
23 | 24 | 25 |

Amount: {{$item->Amount}} INR
26 | Delivery Address:
Delivery_Address ?>

27 | 28 | Check Status 29 | 30 | 31 | 32 | 33 | @if($item->Delivery_Status!='pending' || $item->Order_Cancel_Status==1) 34 | Cancel Order 35 | @else 36 | Cancel Order 37 | 38 | @endif 39 | 40 | 41 |
42 |
43 | @endforeach 44 |
45 | 46 |
-------------------------------------------------------------------------------- /resources/views/components/mobileslideshow.blade.php: -------------------------------------------------------------------------------- 1 | 8 | 9 | -------------------------------------------------------------------------------- /resources/views/components/user/mytransactionsindesktopmode.blade.php: -------------------------------------------------------------------------------- 1 |
2 |

My Transactions

3 |
4 |
5 |
6 |
7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | @php 18 | $email= Auth::user()->email; 19 | $Orders=App\Models\Transaction::where('email','=',$email)->get(); 20 | @endphp 21 | 22 | @foreach ($Orders as $item) 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | @endforeach 39 | 40 | 41 | 42 |
TXIDOrder_IdAmountStatus
{{$item->TXNID}}{{$item->Oder_No}}{{$item->amount}}{{$item->status}}
43 |
44 |
45 |
46 |
47 |

-------------------------------------------------------------------------------- /resources/views/components/user/mytransactionsinmobilemode.blade.php: -------------------------------------------------------------------------------- 1 |
2 |

Transaction History

3 |
4 | @php 5 | $email= Auth::user()->email; 6 | $Orders=App\Models\Transaction::where('email','=',$email)->get(); 7 | @endphp 8 | 9 | @foreach ($Orders as $item) 10 |
11 |
12 | 13 |

14 | OID: {{$item->Oder_No}} 15 |
16 |

17 | 18 | 19 | 20 |

21 | TXID: TXNID?> 22 |

23 | 24 | 25 | 26 |

Amount: amount?>
27 | Payment Status: {{$item->status}}

28 | 29 | 30 |
31 |
32 | @endforeach 33 |
34 | 35 |
-------------------------------------------------------------------------------- /resources/views/components/user/ordersindesktopmode.blade.php: -------------------------------------------------------------------------------- 1 |
2 | 3 | 4 | 5 |

My Orders

6 |
7 | 8 |
9 |
10 |
11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | @php 24 | $email= Auth::user()->email; 25 | $Orders=App\Models\Order::where('Customer_Emailid','=',$email)->get(); 26 | @endphp 27 | 28 | @foreach ($Orders as $item) 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | @endforeach 59 | 60 | 61 | 62 |
Order_IdOrder DetailsDelivery AddressTotal Price (INR)Action
{{$item->id}}Order_Details?>Delivery_Address ?>{{$item->Amount}} 37 | Check Status 38 | 39 | 40 | 41 | 42 | @if($item->Delivery_Status!='pending' || $item->Order_Cancel_Status==1) 43 | Cancel Order 44 | @else 45 | Cancel Order 46 | 47 | @endif 48 | 49 | 50 |
63 |
64 |
65 |
66 |
67 |
68 |
69 | 70 | -------------------------------------------------------------------------------- /resources/views/components/user/ordersinmobilemode.blade.php: -------------------------------------------------------------------------------- 1 |
2 |

My Previous Orders

3 |
4 | @php 5 | $email= Auth::user()->email; 6 | $Orders=App\Models\Order::where('Customer_Emailid','=',$email)->get(); 7 | @endphp 8 | 9 | @foreach ($Orders as $item) 10 |
11 |
12 | 13 |

14 | OID: {{$item->id}} 15 |
16 |

17 | 18 | 19 | 20 |
21 | Order Details: Order_Details?> 22 |
23 | 24 | 25 |

Amount: {{$item->Amount}} INR
26 | Delivery Address:
Delivery_Address ?>

27 | 28 | Check Status 29 | 30 | 31 | 32 | 33 | @if($item->Delivery_Status!='pending' || $item->Order_Cancel_Status==1) 34 | Cancel Order 35 | @else 36 | Cancel Order 37 | 38 | @endif 39 | 40 | 41 |
42 |
43 | @endforeach 44 |
45 | 46 |
-------------------------------------------------------------------------------- /resources/views/dashboards/admin/NewsLetter.blade.php: -------------------------------------------------------------------------------- 1 | @extends('layout') 2 | @section('title') Gainloe @endsection 3 | @section('keywords') Home,About,Contact,Car @endsection 4 | @section('description') Write some descripton about the webpage @endsection 5 | @section('content') 6 |
7 |

Admin Dashboard

8 | 9 |

10 | 11 | 12 |

13 | @if (session('status')) 14 | 17 | @endif 18 | 19 | 20 |
21 | 22 | 23 | 24 |
25 |

26 | News Letter Subscription Data 27 |

28 | 29 |
30 |
31 |
32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | @foreach ($NewsLetter as $item) 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | @endforeach 50 | 51 | 52 | 53 |
NameEmail Id
{{$item->name}}{{$item->email}}
54 |
55 |
56 |
57 |
58 |
59 | @endsection -------------------------------------------------------------------------------- /resources/views/dashboards/admin/Transactions.blade.php: -------------------------------------------------------------------------------- 1 | @extends('layouts.admin') 2 | @section('title') Gainloe @endsection 3 | @section('keywords') Home,About,Contact,Car @endsection 4 | @section('description') Write some descripton about the webpage @endsection 5 | @section('content') 6 |
7 |

Admin Dashboard

8 |

Transaction Details

9 | @if (session('status')) 10 | 13 | @endif 14 | 15 | 16 |
17 | 18 | 19 | 20 |
21 | 22 | @include('components.admin.mytransactionsindesktopmode') 23 |
24 |
25 | 26 | @include('components.admin.mytransactionsinmobilemode') 27 |
28 | 29 | 30 | 31 | @endsection -------------------------------------------------------------------------------- /resources/views/dashboards/admin/edituserrole.blade.php: -------------------------------------------------------------------------------- 1 | @extends('layouts.admin') 2 | @section('title') Gainloe @endsection 3 | @section('keywords') Home,About,Contact,Car @endsection 4 | @section('description') Write some descripton about the webpage @endsection 5 | @section('content') 6 |
7 |

Admin Dashboard

8 | Back 9 | @if (session('status')) 10 | 13 | @endif 14 | 15 | 16 |
17 | 18 | 19 | 20 | 21 |
22 |

23 | Edit User Role 24 |

25 | 26 | 27 |
28 | 29 | 30 |
31 | 32 | 33 |
34 |

Current Role:{{$userroles->role}}

35 |
36 | {{ csrf_field() }} 37 | 38 |
39 | 40 |
41 |
42 | 43 |
44 | 45 |
46 | 51 |
52 |
53 | 54 |
55 | 56 |
57 | 58 | 59 |
60 | 61 |
62 | 63 | 64 |
65 | 66 | 67 |
68 |
69 | @endsection -------------------------------------------------------------------------------- /resources/views/dashboards/admin/index.blade.php: -------------------------------------------------------------------------------- 1 | @extends('layouts.admin') 2 | @section('title') Gainloe @endsection 3 | @section('keywords') Home,About,Contact,Car @endsection 4 | @section('description') Write some descripton about the webpage @endsection 5 | @section('content') 6 |
7 |

Admin Dashboard

8 |

9 | @if (session('status')) 10 | 13 | @endif 14 | 15 | 16 |
17 | 18 | 19 | 20 |
21 | 22 |

23 | 24 |

25 |
26 |
27 |
28 |
29 |
30 |
Registerd Users
31 | 35 |
36 |
37 |
38 |
39 |
Orders
40 | 44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
Products
53 | 57 |
58 |
59 |
60 |
61 |
Transactions
62 | 66 |
67 |
68 | 69 |
70 |
71 |
News Letter Subscription Data
72 | 76 |


77 |
78 |
79 |
80 |
81 | @endsection -------------------------------------------------------------------------------- /resources/views/dashboards/admin/orders.blade.php: -------------------------------------------------------------------------------- 1 | @extends('layouts.admin') 2 | @section('title') Gainloe @endsection 3 | @section('keywords') Home,About,Contact,Car @endsection 4 | @section('description') Write some descripton about the webpage @endsection 5 | @section('content') 6 |
7 |

Admin Dashboard

8 |

Order Details

9 | @if (session('status')) 10 | 13 | @endif 14 | 15 | 16 |
17 | 18 | 19 | 20 |
21 | @include('components.admin.ordersindesktopmode') 22 |
23 | 24 |
25 | @include('components.admin.ordersinmobilemode') 26 |
27 | 28 | 29 | @if (session('Order_Status')) 30 | @include('components.admin.orderstatus') 31 | 37 | @endif 38 | 39 | 40 | @endsection -------------------------------------------------------------------------------- /resources/views/dashboards/admin/users.blade.php: -------------------------------------------------------------------------------- 1 | @extends('layouts.admin') 2 | @section('title') Gainloe @endsection 3 | @section('keywords') Home,About,Contact,Car @endsection 4 | @section('description') Write some descripton about the webpage @endsection 5 | @section('content') 6 |
7 |

Admin Dashboard

8 |

9 | 10 | All Users 11 | Recycle Bin 12 |

13 | @if (session('status')) 14 | 17 | @endif 18 | 19 | 20 |
21 | 22 | 23 | 24 | 25 |
26 | 27 |

28 | Registerd Users 29 |

30 | 31 |
32 | 33 | 34 |
35 | 36 | 37 |
38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | @foreach ($users as $data) 57 | 58 | 59 | 60 | 61 | 62 | 66 | 67 | 68 | @endforeach 69 | 70 | 71 | 72 |
#IdNameEmailIdRoleAction
{{ $data->id }}{{ $data->name }}{{ $data->email }}{{ $data->role }} 63 | Edit 64 | Delete 65 |
73 | 74 | 75 | {{ $users->links()}} 76 | 77 |
78 | 79 |
80 | 81 | 82 |
83 | 84 | 85 |
86 |
87 | @endsection -------------------------------------------------------------------------------- /resources/views/dashboards/admin/usersrecyclebin.blade.php: -------------------------------------------------------------------------------- 1 | @extends('layouts.admin') 2 | @section('title') Gainloe @endsection 3 | @section('keywords') Home,About,Contact,Car @endsection 4 | @section('description') Write some descripton about the webpage @endsection 5 | @section('content') 6 |
7 |

Admin Dashboard

8 |

9 | All Users 10 | Recycle Bin 11 |

12 | @if (session('status')) 13 | 16 | @endif 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 |
25 | 26 |

27 | Users Recycle Bin 28 |

29 | 30 |
31 | 32 | 33 |
34 | 35 | 36 |
37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | @foreach ($users as $data) 56 | 57 | 58 | 59 | 60 | 61 | 65 | 66 | 67 | @endforeach 68 | 69 | 70 | 71 |
#IdNameEmailIdRoleAction
{{ $data->id }}{{ $data->name }}{{ $data->email }}{{ $data->role }} 62 | Restore 63 | Delete Permanently 64 |
72 | 73 | 74 | {{ $users->links()}} 75 | 76 |
77 | 78 |
79 | 80 | 81 |
82 | 83 | 84 |
85 |
86 | @endsection -------------------------------------------------------------------------------- /resources/views/dashboards/user/orders.blade.php: -------------------------------------------------------------------------------- 1 | @extends('layout') 2 | @section('title') Gainloe @endsection 3 | @section('keywords') Home,About,Contact,Car @endsection 4 | @section('description') Write some descripton about the webpage @endsection 5 | @section('content') 6 | 7 | 8 |
9 | 10 | 11 |

Home>Dashboard> Orders

12 | 13 | 14 |
15 | 16 |
17 |

18 | x 19 | Dashboard 20 | Profile 21 | Orders 22 | Payments 23 | {{ __('Logout') }} 24 | 27 |
28 | 29 | 38 | 39 | 40 |
41 | @include('components.user.ordersindesktopmode') 42 |
43 | 44 |
45 | @include('components.user.ordersinmobilemode') 46 |
47 | 48 | 49 | 50 | 51 | 52 | 53 | @if (session('status')) 54 | 55 | 62 | @endif 63 | 64 | 65 | 66 | 97 | 98 | 99 | 100 | @if (session('Order_Status')) 101 | @include('components.user.orderstatus') 102 | 108 | @endif 109 | @endsection -------------------------------------------------------------------------------- /resources/views/dashboards/user/transactions.blade.php: -------------------------------------------------------------------------------- 1 | @extends('layout') 2 | @section('title') Gainloe @endsection 3 | @section('keywords') Home,About,Contact,Car @endsection 4 | @section('description') Write some descripton about the webpage @endsection 5 | @section('content') 6 | 7 | 8 |
9 | 10 | 11 |

Home>Dashboard> Payments

12 | 13 | 14 |
15 | 16 |
17 |

18 | x 19 | Dashboard 20 | Profile 21 | Orders 22 | Payments 23 | {{ __('Logout') }} 24 | 27 |
28 | 29 | 38 | 39 |
40 | 41 | @include('components.user.mytransactionsindesktopmode') 42 |
43 |
44 | 45 | @include('components.user.mytransactionsinmobilemode') 46 |
47 | 48 | 49 | 50 | 51 | @endsection -------------------------------------------------------------------------------- /resources/views/errors/401.blade.php: -------------------------------------------------------------------------------- 1 | @extends('layout') 2 | @section('title') Gainloe -401 page @endsection 3 | @section('keywords') Home,About,Contact,Car @endsection 4 | @section('description') Write some descripton about the webpage @endsection 5 | @section('content') 6 | 7 | 26 |
27 | 28 | 29 | 30 | 31 |

You are not allowd to access this webpage

32 | 33 | 34 |
35 | @endsection -------------------------------------------------------------------------------- /resources/views/errors/403.blade.php: -------------------------------------------------------------------------------- 1 | @extends('errors::minimal') 2 | 3 | @section('title', __('Forbidden')) 4 | @section('code', '403') 5 | @section('message', __($exception->getMessage() ?: 'Forbidden')) 6 | -------------------------------------------------------------------------------- /resources/views/errors/404.blade.php: -------------------------------------------------------------------------------- 1 | @extends('layout') 2 | @section('title') Gainloe -404 page @endsection 3 | @section('keywords') Home,About,Contact,Car @endsection 4 | @section('description') Write some descripton about the webpage @endsection 5 | @section('content') 6 | 7 | 26 |
27 | 28 | 29 | 30 | 31 |

Sorry! Your Requested URL is not on the Server!!
If you have any queries Please Feel Free to ContactUS

32 | 33 | 34 |
35 | @endsection -------------------------------------------------------------------------------- /resources/views/errors/419.blade.php: -------------------------------------------------------------------------------- 1 | @extends('layout') 2 | @section('title') Gainloe -419 page @endsection 3 | @section('keywords') Home,About,Contact,Car @endsection 4 | @section('description') Write some descripton about the webpage @endsection 5 | @section('content') 6 | 7 | 26 |
27 | 28 | 29 | 30 | 31 |

Please go back and refresh the page and then try again! if it doesnot work then please close the browser and do again...

32 | 33 | 34 |
35 | @endsection -------------------------------------------------------------------------------- /resources/views/errors/429.blade.php: -------------------------------------------------------------------------------- 1 | @extends('errors::minimal') 2 | 3 | @section('title', __('Too Many Requests')) 4 | @section('code', '429') 5 | @section('message', __('Too Many Requests')) 6 | -------------------------------------------------------------------------------- /resources/views/errors/500.blade.php: -------------------------------------------------------------------------------- 1 | @extends('layout') 2 | @section('title') Gainloe -500 page @endsection 3 | @section('keywords') Home,About,Contact,Car @endsection 4 | @section('description') Write some descripton about the webpage @endsection 5 | @section('content') 6 | 7 | 26 |
27 | 28 | 29 | 30 | 31 |

Sorry for your inconvenience! We will solve it soon...

32 | 33 | 34 |
35 | @endsection -------------------------------------------------------------------------------- /resources/views/errors/503.blade.php: -------------------------------------------------------------------------------- 1 | @extends('errors::minimal') 2 | 3 | @section('title', __('Service Unavailable')) 4 | @section('code', '503') 5 | @section('message', __($exception->getMessage() ?: 'Service Unavailable')) 6 | -------------------------------------------------------------------------------- /resources/views/errors/layout.blade.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | @yield('title') 8 | 9 | 10 | 11 | 12 | 13 | 14 | 47 | 48 | 49 |
50 |
51 |
52 | @yield('message') 53 |
54 |
55 |
56 | 57 | 58 | -------------------------------------------------------------------------------- /resources/views/errors/minimal.blade.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | @yield('title') 8 | 9 | 10 | 11 | 12 | 13 | 14 | 50 | 51 | 52 |
53 |
54 | @yield('code') 55 |
56 | 57 |
58 | @yield('message') 59 |
60 |
61 | 62 | 63 | -------------------------------------------------------------------------------- /resources/views/layout.blade.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | @yield('title') 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | @include('Reusable_components.user.header') 48 | @yield('content') 49 | @include('Reusable_components.user.footer') 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | -------------------------------------------------------------------------------- /resources/views/layouts/admin.blade.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | @yield('title') 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | @include('Reusable_components.admin.header') 34 | @yield('content') 35 | @include('Reusable_components.admin.footer') 36 | 40 | 41 | 42 | -------------------------------------------------------------------------------- /resources/views/layouts/app.blade.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | @yield('title') 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | @yield('content') 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | -------------------------------------------------------------------------------- /routes/api.php: -------------------------------------------------------------------------------- 1 | get('/user', function (Request $request) { 17 | return $request->user(); 18 | }); 19 | -------------------------------------------------------------------------------- /routes/channels.php: -------------------------------------------------------------------------------- 1 | id === (int) $id; 16 | }); 17 | -------------------------------------------------------------------------------- /routes/console.php: -------------------------------------------------------------------------------- 1 | comment(Inspiring::quote()); 18 | })->describe('Display an inspiring quote'); 19 | -------------------------------------------------------------------------------- /server.php: -------------------------------------------------------------------------------- 1 | 8 | */ 9 | 10 | $uri = urldecode( 11 | parse_url($_SERVER['REQUEST_URI'], PHP_URL_PATH) 12 | ); 13 | 14 | // This file allows us to emulate Apache's "mod_rewrite" functionality from the 15 | // built-in PHP web server. This provides a convenient way to test a Laravel 16 | // application without having installed a "real" web server software here. 17 | if ($uri !== '/' && file_exists(__DIR__.'/public'.$uri)) { 18 | return false; 19 | } 20 | 21 | require_once __DIR__.'/public/index.php'; 22 | -------------------------------------------------------------------------------- /storage/app/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !public/ 3 | !.gitignore 4 | -------------------------------------------------------------------------------- /storage/app/public/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore 3 | -------------------------------------------------------------------------------- /storage/framework/.gitignore: -------------------------------------------------------------------------------- 1 | config.php 2 | routes.php 3 | schedule-* 4 | compiled.php 5 | services.json 6 | events.scanned.php 7 | routes.scanned.php 8 | down 9 | -------------------------------------------------------------------------------- /storage/framework/cache/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !data/ 3 | !.gitignore 4 | -------------------------------------------------------------------------------- /storage/framework/cache/data/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore 3 | -------------------------------------------------------------------------------- /storage/framework/sessions/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore 3 | -------------------------------------------------------------------------------- /storage/framework/testing/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore 3 | -------------------------------------------------------------------------------- /storage/framework/views/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore 3 | -------------------------------------------------------------------------------- /storage/logs/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore 3 | -------------------------------------------------------------------------------- /tests/CreatesApplication.php: -------------------------------------------------------------------------------- 1 | make(Kernel::class)->bootstrap(); 19 | 20 | return $app; 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /tests/Feature/ExampleTest.php: -------------------------------------------------------------------------------- 1 | get('/'); 18 | 19 | $response->assertStatus(200); 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /tests/TestCase.php: -------------------------------------------------------------------------------- 1 | assertTrue(true); 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /webpack.mix.js: -------------------------------------------------------------------------------- 1 | const mix = require('laravel-mix'); 2 | 3 | /* 4 | |-------------------------------------------------------------------------- 5 | | Mix Asset Management 6 | |-------------------------------------------------------------------------- 7 | | 8 | | Mix provides a clean, fluent API for defining some Webpack build steps 9 | | for your Laravel application. By default, we are compiling the Sass 10 | | file for the application as well as bundling up all the JS files. 11 | | 12 | */ 13 | 14 | mix.js('resources/js/app.js', 'public/js') 15 | .sass('resources/sass/app.scss', 'public/css'); 16 | --------------------------------------------------------------------------------