This is a repository for the Y-ACT project, built using Laravel, Breeze, Spatie/Laravel-Permission, and Livewire.
Before you begin, make sure you have the following installed:
- PHP 7.4 or later
- Composer
- Node.js
- NPM
Follow these steps to install and set up the project:
- Clone the repository:
git clone https://github.com/your-username/Y-ACT.git
- Install dependencies:
composer install
npm install
- Copy the
.env.example
file to.env
:
cp .env.example .env
- Generate an application key:
php artisan key:generate
- Set up your database configuration 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
- Run database migrations:
php artisan migrate
- Install Breeze:
php artisan breeze:install
- Install Spatie/Laravel-Permission:
composer require spatie/laravel-permission
php artisan vendor:publish --provider="Spatie\Permission\PermissionServiceProvider" --tag="migrations"
php artisan migrate
- Install Livewire:
composer require livewire/livewire
- Build assets:
npm run dev
To start the development server, run:
php artisan serve
You can access the application at http://localhost:8000
.
Contributions are welcome! Please open an issue or pull request.
This project is licensed under the MIT License. See the LICENSE file for details.