sang-asia / backpack-website
A ready to develop Backpack for Laravel Website with FE & BE.
Installs: 2
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 0
Forks: 0
Open Issues: 0
Type:project
Requires
- php: ^7.3|^8.0
- fruitcake/laravel-cors: ^2.0
- guzzlehttp/guzzle: ^7.0.1
- laravel/framework: ^8.75
- laravel/sanctum: ^2.11
- laravel/tinker: ^2.5
- web/be: ^1.0
- web/fe: ^1.0
Requires (Dev)
- facade/ignition: ^2.5
- fakerphp/faker: ^1.9.1
- laravel/sail: ^1.0.1
- mockery/mockery: ^1.4.4
- nunomaduro/collision: ^5.10
- phpunit/phpunit: ^9.5.10
This package is auto-updated.
Last update: 2024-10-27 11:20:59 UTC
README
Install
composer create-project sang-asia/backpack-website your-project-name
- Configure database connection.
php artisan migrate
php artisan backpack:user
php artisan storage:link
Configure
Configure Project
- File
config/backpack/base.php
:project_name
,project_logo
,developer_name
,developer_link
.
Remove Laravel example page
- Delete view
resources/views/welcome.blade.php
. - Remove route in
routes/web.php
.
Remove Backpack's error pages
- Delete folder
resources/views/vendor/errors
.
Configure Laravel Idea plugin
Open setting: File > Settings > Languages & Frameworks > Laravel Idea > Module System:
- Module system: Choose Directory modules as composer.json packages.
- Root directory path: Enter packages.
- Check both Lowercase translation namespaces and Allow app root module in code generation dialogs.
Frontend
- Open Terminal/Command Prompt and go to directory
packages/web_fe
. npm install
.- Compile assets:
- Develop:
npm run dev
ornpm run watch
. - Production:
npm run prod
.
- Develop: