This is a web-based employee management system built using Laravel and Vue.js. It allows managers to manage employees, shift schedules, and attendance records.
To install and run this project locally, follow these steps:
- Clone the repository to your local machine:
git clone https://github.com/your-username/employee-management-system.git
- Navigate to the project directory:
cd employee-management-system
- Install the necessary dependencies:
composer install
npm install
- Create a
.env
file by copying the.env.example
file:
cp .env.example .env
- Generate a new app key:
php artisan key:generate
- Set up your database in the
.env
file:
DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=employee_management_system
DB_USERNAME=root
DB_PASSWORD=
- Migrate the database:
php artisan migrate
- Seed the database with sample data:
php artisan db:seed
- Start the development server:
php artisan serve
- Visit
http://localhost:8000
in your browser to view the application.
To use the application, follow these steps:
-
Log in as a manager using the credentials provided in the
DatabaseSeeder
file. -
Add employees by clicking the "Add Employee" button and filling out the form.
-
Set up shift schedules by clicking the "Add Shift" button and filling out the form.
-
Record employee attendance by clicking the "Check In" or "Check Out" buttons next to each employee's name.
This project was created by Your Name Here.
This project is licensed under the MIT License.