Skip to content

aimedidierm/employee-management-software-api

Repository files navigation

Employee Management Software API

Welcome to the Employee Management Software API! This project is designed to help you manage employee records, attendance, and more. Below, you'll find all the information you need to set up and run the project.

Table of Contents

Requirements

  • PHP 8.1 or higher
  • Composer
  • Docker & Docker Compose (for Laravel Sail)

Installation

  1. Clone the repository:

    git clone https://github.com/aimedidierm/employee-management-software-api.git
    cd employee-management-software-api
  2. Install dependencies:

    ./vendor/bin/sail composer install
  3. Copy the environment file:

    cp .env.example .env
  4. Generate an application key:

    ./vendor/bin/sail artisan key:generate

Environment Configuration

  1. Open the .env file and configure your database settings, email settings, and other environment variables as needed.

  2. Set up Mailpit for email testing by adding the following to your .env:

    MAIL_MAILER=smtp
    MAIL_HOST=mailpit
    MAIL_PORT=1025
    MAIL_USERNAME=null
    MAIL_PASSWORD=null
  3. Frontend URL:

    FRONTEND_APP_URL=http://your-vuejs-deployment-url

Running the Application

  1. Start the application using Laravel Sail:

    ./vendor/bin/sail up
  2. Access the API at http://localhost or the specified port in your docker-compose.yml.

Features

  • Authentication System: Users can register, log in, log out, and reset passwords using Laravel Sanctum. 🔒
  • Employee CRUD: Create, read, update, and delete employee records through the API with a VueJS frontend. 👥
  • Attendance Management: Record employee attendance with arrival and departure times. ⏰
  • Email Notifications: Employees receive email notifications when their attendance is recorded. 📧
  • Attendance Reports: Generate PDF and Excel reports of daily attendance data. 📊

Testing

  • Run the tests using:
    ./vendor/bin/sail artisan test

All features are fully tested to guarantee functionality! ✅

tests

License

This project is licensed under the MIT License. See the LICENSE file for details.

Thank you for checking out this project! If you have any questions or need assistance, feel free to reach out.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages