Skip to content

Commit 26a923f

Browse files
committed
remove web-related files
1 parent e34017e commit 26a923f

File tree

14 files changed

+7
-301
lines changed

14 files changed

+7
-301
lines changed

.env.example

+4-9
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@ LOG_DEPRECATIONS_CHANNEL=null
99
LOG_LEVEL=debug
1010

1111
DB_CONNECTION=mysql
12-
DB_HOST=127.0.0.1
12+
DB_HOST=mysql
1313
DB_PORT=3306
1414
DB_DATABASE=modular_monolith_laravel
15-
DB_USERNAME=root
16-
DB_PASSWORD=
15+
DB_USERNAME=sail
16+
DB_PASSWORD=password
1717

1818
BROADCAST_DRIVER=log
1919
CACHE_DRIVER=file
@@ -22,9 +22,7 @@ QUEUE_CONNECTION=sync
2222
SESSION_DRIVER=file
2323
SESSION_LIFETIME=120
2424

25-
MEMCACHED_HOST=127.0.0.1
26-
27-
REDIS_HOST=127.0.0.1
25+
REDIS_HOST=redis
2826
REDIS_PASSWORD=null
2927
REDIS_PORT=6379
3028

@@ -47,6 +45,3 @@ PUSHER_APP_ID=
4745
PUSHER_APP_KEY=
4846
PUSHER_APP_SECRET=
4947
PUSHER_APP_CLUSTER=mt1
50-
51-
MIX_PUSHER_APP_KEY="${PUSHER_APP_KEY}"
52-
MIX_PUSHER_APP_CLUSTER="${PUSHER_APP_CLUSTER}"

app/Providers/RouteServiceProvider.php

+1-15
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,6 @@
1010

1111
class RouteServiceProvider extends ServiceProvider
1212
{
13-
/**
14-
* The path to the "home" route for your application.
15-
*
16-
* This is used by Laravel authentication to redirect users after login.
17-
*
18-
* @var string
19-
*/
20-
public const HOME = '/home';
21-
2213
/**
2314
* The controller namespace for the application.
2415
*
@@ -38,14 +29,9 @@ public function boot()
3829
$this->configureRateLimiting();
3930

4031
$this->routes(function () {
41-
Route::prefix('api')
42-
->middleware('api')
32+
Route::middleware('api')
4333
->namespace($this->namespace)
4434
->group(base_path('routes/api.php'));
45-
46-
Route::middleware('web')
47-
->namespace($this->namespace)
48-
->group(base_path('routes/web.php'));
4935
});
5036
}
5137

config/app.php

-2
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,6 @@
5454

5555
'url' => env('APP_URL', 'http://localhost'),
5656

57-
'asset_url' => env('ASSET_URL', null),
58-
5957
/*
6058
|--------------------------------------------------------------------------
6159
| Application Timezone

package.json

-18
This file was deleted.

resources/css/app.css

Whitespace-only changes.

resources/js/app.js

-1
This file was deleted.

resources/js/bootstrap.js

-28
This file was deleted.

resources/lang/en/auth.php

-20
This file was deleted.

resources/lang/en/pagination.php

-19
This file was deleted.

resources/lang/en/passwords.php

-22
This file was deleted.

0 commit comments

Comments
 (0)