Folder Structure

Once you download the template from ThemeForest and extract, you will find two zip files:

  • laravel-react-demo.zip This contains the source code with full demo and can be used as a reference for the implementations components, apps and pages.

  • laravel-react-starter-template.zip This one you can use to start your new project with minimal dependencies and can extend as per the need of your project.

Following is folder structure of the source code you will find inside laravel-react-demo.zip:

laravel-react-demo/
├── app # Controllers and Models
├── bootstrap # Contains cache and app.php
├── config # Application's configuration files
├── database # Migrations, model factories, & seeds
├── public # index.php ,static folder & Build
├── resources # Assets, JS, Css, ReactJS and Laravel Views files
│ │
│ ├── assets/
│ │ ├── images/
│ │ ├── vendors/
│ │ ├── fevicon.ico
│ │ ├── logo192.png
│ │ ├── logo512.png
│ │ └── manifest.json
│ │
│ ├── js # All JS Files
│ │ │
│ │ ├── src # All React App files
│ │ │ │
│ │ │ ├── @coremat/ # Coremat UI starter-kit
│ │ │ ├── @fake-db/ # Fake Database
│ │ │ ├── @jumbo/ # Global component, layouts and core settings
│ │ │ ├── i18n/ # Internationalization
│ │ │ ├── redux/ # All redux files
│ │ │ ├── routes/ # All routes and View files for all pages
│ │ │ ├── services/ # Auth files and mocking API files
│ │ │ ├── stories/ # Stories
│ │ │ ├── theme/ # Theme settings
│ │ │ ├── App.js # Application main App file
│ │ │ ├── index.js # Application main js file
│ │ │ ├── serviceWorker.js # React Core File
│ │ │ └── setupTests.js # React Core File
│ │ │
│ │ └── app.js # Entry point
│ │
│ ├── lang/ # Laravel Default Languages folder
│ ├── sass/ # Laravel Default sass folder
│ └── views/ # Contain Blade templates
├── routes/ # Include Routes Web.php
├── storage/ # Contains compile blade templates
├── tests/ # For testing
├── .babelrc # Babel File
├── .editorconfig # Related with your editor
├── .env.example # Include Database credentials
├── .gitattributes # Give attributes to pathnames
├── .gitignore # Files and Directories to ignore
├── .styleci.yml
├── artisan # Include artisans commands
├── composer.json # Dependencies used by composer
├── package.json # Dependencies used by node
├── phpunit.xml # Related With testing
├── README.md # For Laravel information
├── server.php # For php's internal web server
└── webpack.mix.js # Laravel's webpack file