A simple Employee Management System built with Laravel, including CRUD operations, data visualization using Chart.js, and Excel export/import functionality.
- Create, Read, Update, and Delete (CRUD) operations for employee records.
- Visualize the number of registered employees using Chart.js on the dashboard.
- Export employee data to Excel and import data from Excel for bulk insertion or update.
- PDF export functionality to generate a downloadable report of employees.
- PHP (>= 8.1)
- Composer
- Node.js (with npm)
- MySQL
- wkhtmltopdf (for PDF export)
-
Clone the repository:
git clone https://github.com/blingyplus/employeems.git
-
Navigate to the project directory:
cd employeems
-
Install PHP dependencies:
composer install
-
Install JavaScript dependencies:
npm install
-
Copy the
.env.example
file to.env
and configure your database connection:cp .env.example .env
-
Generate the application key:
php artisan key:generate
-
Run database migrations and seeders:
php artisan migrate --seed
-
Start the development server(backend):
php artisan serve
-
Start the development server in another terminal tab(frontend):
npm run dev
-
Open your browser and visit http://127.0.0.1:8000.
- Access the Employee Management System at http://127.0.0.1:8000.
- Use the dashboard to view the number of registered employees.
- Perform CRUD operations on employee records.
- Export and import employee data in Excel format.
- Generate a downloadable PDF report of employees.
Click to view how it looks like
- Laravel
- Laravel Jetstream
- Chart.js
- Excel (Maatwebsite/Laravel-Excel)
- PDF (barryvdh/laravel-snappy)
This project is licensed under the MIT License.