App configuration defaults

This commit is contained in:
Deon George 2021-07-01 09:21:18 +10:00
parent f7a037aff5
commit 036ab07329
No known key found for this signature in database
GPG Key ID: 7670E8DC27415254
3 changed files with 28 additions and 21 deletions

View File

@ -1,17 +1,17 @@
APP_NAME=Laravel
APP_NAME_HTML_LONG="<b>Laravel</b>Application"
APP_NAME_HTML_SHORT="<b>L</b>A"
APP_ENV=local
APP_NAME=OSB
APP_NAME_HTML_LONG="<b>Graytech</b>Hosting"
APP_NAME_HTML_SHORT="<b>G</b>H"
APP_ENV=production
APP_KEY=
APP_DEBUG=false
APP_URL=http://localhost
APP_URL=https://www.graytech.net.au
LOG_CHANNEL=stack
DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_HOST=database
DB_PORT=3306
DB_DATABASE=homestead
DB_DATABASE=database
DB_USERNAME=homestead
DB_PASSWORD=secret
@ -19,15 +19,15 @@ BROADCAST_DRIVER=log
CACHE_DRIVER=file
SESSION_DRIVER=file
SESSION_LIFETIME=120
QUEUE_CONNECTION=sync
QUEUE_DRIVER=database
REDIS_HOST=127.0.0.1
REDIS_PASSWORD=null
REDIS_PORT=6379
MAIL_DRIVER=smtp
MAIL_HOST=smtp.mailtrap.io
MAIL_PORT=2525
MAIL_HOST=MAIL
MAIL_PORT=25
MAIL_USERNAME=null
MAIL_PASSWORD=null
MAIL_ENCRYPTION=null
@ -40,8 +40,18 @@ PUSHER_APP_CLUSTER=mt1
MIX_PUSHER_APP_KEY="${PUSHER_APP_KEY}"
MIX_PUSHER_APP_CLUSTER="${PUSHER_APP_CLUSTER}"
EZYPAY_TOKEN=
EZYPAY_GUID=
QUICKBOOKS_CLIENT_ID=
QUICKBOOKS_CLIENT_SECRET=
QUICKBOOKS_API_URL=Production
AUTH_GOOGLE_CLIENT_ID=
AUTH_GOOGLE_SECRET=
PAYPAL_MODE=sandbox
PAYPAL_SANDBOX_CLIENT_ID=
PAYPAL_SANDBOX_SECRET=
PAYPAL_LIVE_CLIENT_ID=
PAYPAL_LIVE_SECRET=
PAYPAL_LIVE_SECRET=

View File

@ -1,4 +1,4 @@
<div class="card card-primary">
<div class="card card-dark">
<div class="card-header">
<h4 class="card-title">Accounts</h4>
</div>
@ -30,17 +30,13 @@
</div>
@section('page-scripts')
@css('//cdn.datatables.net/1.10.19/css/jquery.dataTables.min.css','jq-dt-css','jquery')
@js('//cdn.datatables.net/1.10.19/js/jquery.dataTables.min.js','jq-dt-js','jquery')
@css('//cdn.datatables.net/responsive/2.2.1/css/responsive.dataTables.min.css','dt-responsive-css','jq-dt-css')
@js('//cdn.datatables.net/responsive/2.2.1/js/dataTables.responsive.min.js','dt-responsive-js','jq-dt-js')
@css('/plugin/dataTables/dataTables.bootstrap4.css','dt-bootstrap4-css','jq-dt-css')
@js('/plugin/dataTables/dataTables.bootstrap4.js','dt-bootstrap4-js','jq-dt-js')
@css('//cdn.datatables.net/1.10.25/css/dataTables.bootstrap5.min.css','jq-dt-css','jquery')
@js('//cdn.datatables.net/1.10.25/js/jquery.dataTables.min.js','jq-dt-js','jquery')
@js('//cdn.datatables.net/1.10.25/js/dataTables.bootstrap5.min.js','jq-dt-bs5-js','jq-dt-js')
<script type="text/javascript">
$(document).ready(function() {
$('#accounts').DataTable( {
responsive: true,
ajax: {
url: "/api/r/accounts"
},

View File

@ -1,6 +1,7 @@
<?php
use App\Http\Controllers\{CheckoutController,
use App\Http\Controllers\{Auth\LoginController,
CheckoutController,
HomeController,
PaypalController,
WelcomeController};
@ -17,7 +18,7 @@ use App\Http\Controllers\{CheckoutController,
*/
Auth::routes();
Route::get('/logout','Auth\LoginController@logout');
Route::get('/logout',[LoginController::class,'logout']);
Route::group(['middleware'=>['theme:adminlte-be']],function() {
Route::get('auth/{socialProvider}','Auth\SocialLoginController@redirectToProvider');