Admin Panel to manage Companies and Employees.
Mini-HRM is a web application built using Laravel, aimed at managing companies and their employees efficiently. It provides basic CRUD functionality for companies and employees, along with additional features like email notifications, trash functionality, and a user-friendly front-end theme.
- Basic Laravel Auth: Administrators can log in to the application.
- Database Seeds: The first user with email admin@admin.com and password "password" is created.
- Companies CRUD: Ability to create, read, update, and delete companies.
- Employees CRUD: Ability to create, read, update, and delete employee records associated with companies.
- Companies DB Table: Fields include Name (required), email, and logo (minimum 100x100).
- Employees DB Table: Fields include First name (required), last name (required), Company (foreign key to Companies), email, and phone.
- Database Migrations: Migrations are used to create the necessary database schemas.
- File Storage: Companies' logos are stored in storage/app/public folder and made accessible to the public.
- Validation: Laravel's validation function using Request classes is implemented.
- Pagination: Laravel's pagination is used to display Companies/Employees lists with 10 entries per page.
- Front-end Theme: Utilized more complicated front-end theme like Tabler.
- Email Notification: Sends an email whenever a new company is entered using Mailgun or Mailtrap.
- Move Deleted Items to Trash: Soft deletion implemented to move deleted items to trash.
- View & Restore Trashed Data: Ability to view and restore trashed data.
- Clone the repository.
- Install the required dependencies using composer:
Run the development server:
php artisan serve
-
Open your browser and navigate to the application.
-
Log in using the provided credentials (admin@admin.com / password).
-
Start managing companies and employees through the user-friendly interface.
Laravel - The PHP web application framework. Tabler - The front-end theme used for an enhanced user experience. Mailgun or Mailtrap - For email notifications. Other dependencies (list any additional technologies or packages used). Contributing Contributions are welcome! If you find any issues or have suggestions for improvement, feel free to open an issue or create a pull request.
This project is open-sourced software licensed under the MIT license.