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=OSB
APP_NAME_HTML_LONG="<b>Laravel</b>Application" APP_NAME_HTML_LONG="<b>Graytech</b>Hosting"
APP_NAME_HTML_SHORT="<b>L</b>A" APP_NAME_HTML_SHORT="<b>G</b>H"
APP_ENV=local APP_ENV=production
APP_KEY= APP_KEY=
APP_DEBUG=false APP_DEBUG=false
APP_URL=http://localhost APP_URL=https://www.graytech.net.au
LOG_CHANNEL=stack LOG_CHANNEL=stack
DB_CONNECTION=mysql DB_CONNECTION=mysql
DB_HOST=127.0.0.1 DB_HOST=database
DB_PORT=3306 DB_PORT=3306
DB_DATABASE=homestead DB_DATABASE=database
DB_USERNAME=homestead DB_USERNAME=homestead
DB_PASSWORD=secret DB_PASSWORD=secret
@ -19,15 +19,15 @@ BROADCAST_DRIVER=log
CACHE_DRIVER=file CACHE_DRIVER=file
SESSION_DRIVER=file SESSION_DRIVER=file
SESSION_LIFETIME=120 SESSION_LIFETIME=120
QUEUE_CONNECTION=sync QUEUE_DRIVER=database
REDIS_HOST=127.0.0.1 REDIS_HOST=127.0.0.1
REDIS_PASSWORD=null REDIS_PASSWORD=null
REDIS_PORT=6379 REDIS_PORT=6379
MAIL_DRIVER=smtp MAIL_DRIVER=smtp
MAIL_HOST=smtp.mailtrap.io MAIL_HOST=MAIL
MAIL_PORT=2525 MAIL_PORT=25
MAIL_USERNAME=null MAIL_USERNAME=null
MAIL_PASSWORD=null MAIL_PASSWORD=null
MAIL_ENCRYPTION=null MAIL_ENCRYPTION=null
@ -40,6 +40,16 @@ PUSHER_APP_CLUSTER=mt1
MIX_PUSHER_APP_KEY="${PUSHER_APP_KEY}" MIX_PUSHER_APP_KEY="${PUSHER_APP_KEY}"
MIX_PUSHER_APP_CLUSTER="${PUSHER_APP_CLUSTER}" 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_MODE=sandbox
PAYPAL_SANDBOX_CLIENT_ID= PAYPAL_SANDBOX_CLIENT_ID=
PAYPAL_SANDBOX_SECRET= PAYPAL_SANDBOX_SECRET=

View File

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

View File

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