πFolder Structure
React & Laravel Light Able folder structure is meticulously organised to enhance project scalability and maintainability. With directories for routes, controllers, assets, views, and configuration settings
βββ πapp
| βββ πhttp
| βββ πModels
| βββ πProviders
βββ πbootstrap
βββ πconfig
βββ πdatabase
βββ πpublic
| βββ πbuild
| βββ πassets
βββ π resources
| βββ πcss
| βββ πfonts
| βββ πimages
| βββ πjs
| | βββ πCommon
| | βββ πComponents
| | βββ πlayouts
| | βββ πpages
| | βββ πslices
| | βββ πtoolkit
| | βββ πtypes
| | βββ πapp.tsx
| βββ πsass
| βββ πviews
βββ π routes
| βββ πauth.php
| βββ πconsole.php
| βββ πweb.php
βββ π storage
| βββ πapp
| βββ πfremwork
| βββ πlogs
βββ π tests
| βββ πFeature
| βββ πUnit
βββ π.editorconfig
βββ π.env
βββ π.env.example
βββ π.gitattributes
βββ π.gitignore
βββ π.composer.json
βββ πpackage-lock.json
βββ π.package.json
βββ π.phpunit.xml
βββ πpostcss.config.js
βββ πvite.config.js
Light Able React & Laravel Folders Structure
πLightable-Laravel
root:
The main folder of our project.
πapp
app/
A Directory for controllers.
πbootstrap
bootstrap/
A Directory for cache.
π config
config/
A Directory for config.
π database
database/
All database schema we can store here.
πpublic
public/
All assets including css and js are stored after gulp build.
π resources
resources/
All the blade files are here.
π routes
routes/
All the routing file are here.
π storage
storage/
All cache and log files here.
π tests
tests/
All tests files will be here.
Light Able React & Laravel Files
.env
/.env
Set all the credentials
artisan
/artisan
Artisan file
composer.json
/composer.json
All the Laravel packages will be in this file
package.json
/package.json
All the packages
vite.config.js
/vite.config.js
Configure all the Vite settings.
Last updated