Welcome to the Laravel Inertia Template! This repository serves as a starter project for building Laravel applications using Inertia.js and Vue.js. If you're looking to create a modern web application with a smooth user experience, you're in the right place.
This project utilizes a variety of technologies to provide a robust development experience:
To get started with this template, follow these steps:
Clone the Repository:
git clone https://github.com/Toman-ikigai/laravel-inertia-template.git
Navigate to the Project Directory:
cd laravel-inertia-template
Install Dependencies:
composer install
npm install
Set Up Environment Variables:
Copy the .env.example
file to .env
and update the necessary configuration.
cp .env.example .env
Generate Application Key:
php artisan key:generate
Run Migrations: If your project includes a database, run the migrations.
php artisan migrate
Start the Development Server:
php artisan serve
Now, your application should be up and running at http://localhost:8000
.
After setting up the project, you can start developing your application. Here are some basic commands to help you:
Run Development Server:
php artisan serve
Compile Assets:
npm run dev
Build for Production:
npm run build
For more detailed instructions, check the Releases section.
Understanding the folder structure is crucial for navigating and modifying the project effectively. Hereβs a breakdown of the main directories:
laravel-inertia-template/
βββ app/ # Contains the core application code
β βββ Http/ # Controllers, Middleware, Requests
β βββ Models/ # Eloquent models
β βββ ...
βββ resources/ # Views and assets
β βββ js/ # JavaScript files
β βββ css/ # CSS files
β βββ views/ # Blade templates
βββ routes/ # Web routes
βββ database/ # Database migrations and seeds
βββ ...
We welcome contributions to improve this template. If you would like to contribute, please follow these steps:
git checkout -b feature/YourFeature
git commit -m "Add your message"
git push origin feature/YourFeature
This project is licensed under the MIT License. See the LICENSE file for details.
Thank you for checking out the Laravel Inertia Template! We hope this starter project helps you kickstart your next Laravel application. For updates and releases, visit the Releases section.
Happy coding! π