📂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

File/Folder
Path
Description

📂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

File
Path
Description

.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