A Laravel-based Task Management application* enhanced with Livewire for dynamic user interfaces and efficient task handling. This application allows you to manage tasks seamlessly, offering a clean and modern interface powered by Laravel and Livewire.
- Dynamic UI: Powered by Livewire for seamless real-time updates.
- Task Management: Add, edit, delete, and track tasks efficiently.
- Database Integration: Manage your tasks with reliable backend storage.
- Fully Responsive: Frontend built using Tailwind CSS for modern designs.
Make sure you have the following installed before setting up the project:
- XAMPP: Download and install XAMPP to run Apache and MySQL servers.
- Composer: Download Composer for PHP dependency management.
- PHP: Ensure PHP version 8.1 or higher is installed on your system.
- Node.js & npm: Install Node.js and npm to manage frontend assets.
Follow these steps to set up the project locally:
-
Clone the Repository
bash
git clone https://github.com/sotoJ24/task_management.git
cd task_management -
Install Laravel Dependencies
bash
composer install -
Install Livewire (if not already installed)
bash
composer require livewire/livewire -
Set Up Environment Variables
-
Copy the example .env file:
bash
cp .env.example .env -
Edit the .env file and configure your database credentials:
env
DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=task_management
DB_USERNAME=root
DB_PASSWORD=
-
-
Generate Application Key
bash
php artisan key:generate -
Run Database Migrations
bash
php artisan migrate -
(Optional) Seed Database with Sample Data
Populate your database with demo data:
bash
php artisan db:seed -
Install and Compile Frontend Assets
bash
npm install
npm run dev
-
Start the XAMPP control panel and ensure MySQL and Apache servers are running.
-
Start the Laravel development server:
bash
php artisan serve -
Open your browser and navigate to http://localhost:8000.
Here are some helpful Laravel commands for managing the project:
-
Clear Laravel Caches
bash
php artisan cache:clear
php artisan config:clear
php artisan route:clear
php artisan view:clear -
Run Laravel Tests
bash
php artisan test -
Compile Assets for Production
bash
npm run build
Contributions are welcome! Feel free to fork the repository, submit issues, or create pull requests to improve the project.
- Laravel Documentation: https://laravel.com/docs
- Livewire Documentation: https://livewire.laravel.com/docs
- XAMPP Documentation: https://www.apachefriends.org