{"id":26661393,"url":"https://github.com/derek486/employee-app-laravel","last_synced_at":"2026-04-29T16:05:32.202Z","repository":{"id":167497336,"uuid":"643105259","full_name":"Derek486/employee-app-laravel","owner":"Derek486","description":"Web application to employees | laravel","archived":false,"fork":false,"pushed_at":"2025-03-24T23:47:34.000Z","size":85,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-25T00:27:58.934Z","etag":null,"topics":["laravel","mysql","sanctum-authentication"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Derek486.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-05-20T05:46:51.000Z","updated_at":"2025-03-24T23:47:37.000Z","dependencies_parsed_at":"2025-03-25T00:38:12.478Z","dependency_job_id":null,"html_url":"https://github.com/Derek486/employee-app-laravel","commit_stats":null,"previous_names":["abdieldixon22/employeeapp_laravelproject","jjcondoripinto/employeeapp_laravelproject","derek486/employeeapp_laravelproject","derek486/employee-app-laravel"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Derek486%2Femployee-app-laravel","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Derek486%2Femployee-app-laravel/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Derek486%2Femployee-app-laravel/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Derek486%2Femployee-app-laravel/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Derek486","download_url":"https://codeload.github.com/Derek486/employee-app-laravel/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245467620,"owners_count":20620216,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["laravel","mysql","sanctum-authentication"],"created_at":"2025-03-25T13:17:07.415Z","updated_at":"2025-10-17T19:26:11.953Z","avatar_url":"https://github.com/Derek486.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\u003ca href=\"https://laravel.com\" target=\"_blank\"\u003e\u003cimg src=\"https://raw.githubusercontent.com/laravel/art/master/logo-lockup/5%20SVG/2%20CMYK/1%20Full%20Color/laravel-logolockup-cmyk-red.svg\" width=\"400\" alt=\"Laravel Logo\"\u003e\u003c/a\u003e\u003c/p\u003e\n\n# Laravel Employees App\n\nThis is a **Laravel-based Employee Management System** that allows users to register, authenticate, and manage employee records.\n\n## 🚀 Features\n- **User Authentication** (Register, Login, Logout)\n- **CRUD Operations for Employees** (Create, Read, Update, Delete)\n- **Middleware for Authentication** to protect routes\n- **MySQL Database Integration**\n\n## 🛠 Tech Stack\n- **Backend:** Laravel\n- **Database:** MySQL\n- **Authentication:** Laravel Auth\n- **Routing:** Laravel Web Routes\n\n## 📦 Installation\n### Prerequisites\nEnsure you have **PHP**, **Composer**, **MySQL**, and **Laravel** installed:\n```sh\ncomposer install\n```\n\n### Clone the repository\n```sh\ngit clone https://github.com/your-username/employees-app.git\ncd employees-app\n```\n\n### Set up environment variables\nCopy `.env.example` to `.env` and update database credentials:\n```env\nDB_CONNECTION=mysql\nDB_HOST=127.0.0.1\nDB_PORT=3306\nDB_DATABASE=laravel\nDB_USERNAME=root\nDB_PASSWORD=12345678\n```\n\n### Run migrations\n```sh\nphp artisan migrate\n```\n\n### Start the server\n```sh\nphp artisan serve\n```\nAccess the application at `http://127.0.0.1:8000`.\n\n## 📂 API Routes\n| Method | Route | Description |\n|--------|-------|-------------|\n| **GET** | `/register` | Show registration form |\n| **POST** | `/register` | Register a new user |\n| **GET** | `/login` | Show login form |\n| **POST** | `/login` | Authenticate user |\n| **POST** | `/logout` | Log out user |\n| **GET** | `/employees` | List all employees |\n| **POST** | `/employees` | Create a new employee |\n| **GET** | `/employees/{id}` | Show employee details |\n| **PUT** | `/employees/{id}` | Update employee information |\n| **DELETE** | `/employee/{id}` | Delete an employee |\n\n## 📸 Preview\n\nHere are some screenshots of the project in action:\n\n### Employee List\n![Employee List](./preview/employees.png)\n\n### Update Form\n![Update Form](./preview/show_employee.png)\n\n### Login and register\n\n\u003cdiv align=\"center\"\u003e\n  \u003cimg src=\"./preview/login.png\" alt=\"Login page\" width=\"45%\" height=\"300px\"\u003e\n  \u003cimg src=\"./preview/register.png\" alt=\"Register page\" width=\"45%\" height=\"300px\"\u003e\n\u003c/div\u003e\n\n\n## 📜 License\nThis project is licensed under the **MIT License**. Feel free to use and modify it!","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fderek486%2Femployee-app-laravel","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fderek486%2Femployee-app-laravel","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fderek486%2Femployee-app-laravel/lists"}