This is a Laravel project created to [briefly describe the project's purpose or goal].
Before you begin, ensure you have met the following requirements:
- PHP (^8.1)
- Composer
- Node.js and npm (for front-end assets, optional)
- Laravel (^10.10)
- Database (MySQL)
Follow these steps to get the project up and running:
-
Clone this repository:
git clone https://github.com/CodingLearner129/ReuseableSetupLaravel.git
-
Change into the project directory:
cd ReuseableSetupLaravel -
Install PHP dependencies using Composer:
composer install
-
Create a copy of the .env.example file and rename it to .env:
cp .env.example .env
-
Generate the application key:
php artisan key:generate
-
Configure your database in the .env file:
DB_CONNECTION=mysql DB_HOST=127.0.0.1 DB_PORT=3306 DB_DATABASE=your_database_name DB_USERNAME=your_database_username DB_PASSWORD=your_database_password
-
Install front-end assets (e.g., JavaScript and CSS):
npm install npm run dev npm run build
-
Generate database schema:
php artisan migrate --seed
-
Start the development server:
php artisan serve