{"id":18396598,"url":"https://github.com/raofin/ibos-assignment","last_synced_at":"2026-04-15T22:33:44.641Z","repository":{"id":193566329,"uuid":"688688220","full_name":"Raofin/iBOS-Assignment","owner":"Raofin","description":"An ASP.NET Core API project with SOLID principles, JWT authentication, SQLite, and multiple endpoints.","archived":false,"fork":false,"pushed_at":"2023-09-11T22:59:18.000Z","size":433,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-14T03:35:40.298Z","etag":null,"topics":["aspnet-core","c-hash","entity-framework-core","jwt-token","mssql","repository-pattern","solid-principles","sqlite"],"latest_commit_sha":null,"homepage":"https://ibos-assignment.rawfin.net","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Raofin.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-09-07T22:23:50.000Z","updated_at":"2024-01-23T12:02:24.000Z","dependencies_parsed_at":"2024-12-24T10:28:45.761Z","dependency_job_id":"583f94b6-72dc-4184-b47f-bb0910e9f3ad","html_url":"https://github.com/Raofin/iBOS-Assignment","commit_stats":null,"previous_names":["raofin/ibos-assignment"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Raofin/iBOS-Assignment","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Raofin%2FiBOS-Assignment","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Raofin%2FiBOS-Assignment/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Raofin%2FiBOS-Assignment/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Raofin%2FiBOS-Assignment/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Raofin","download_url":"https://codeload.github.com/Raofin/iBOS-Assignment/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Raofin%2FiBOS-Assignment/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31863492,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-15T15:24:51.572Z","status":"ssl_error","status_checked_at":"2026-04-15T15:24:39.138Z","response_time":63,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["aspnet-core","c-hash","entity-framework-core","jwt-token","mssql","repository-pattern","solid-principles","sqlite"],"created_at":"2024-11-06T02:14:22.586Z","updated_at":"2026-04-15T22:33:44.617Z","avatar_url":"https://github.com/Raofin.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# iBOS-Assignment\n\nAn ASP.NET Core API project developed with C#, .NET Core, MSSQL, and Entity Framework Core using the SOLID architectural pattern and other interesting concepts.\n\n### Live: [https://ibos-assignment.raofin.net](https://ibos-assignment.raofin.net)\n\n## Screenshot\n\u003cimg src=\"/Screenshot.png\"\u003e\n\n## Implemented Concepts\n✔️ [**JWT Token:**](https://github.com/Raofin/iBOS-Assignment/blob/6f45749eca339f515831bd1e04b27ae3aff94b5f/iBOS-Assignment/API/Startup.cs#L99-L112) JWT token authentication for secure access to the APIs.\n\n✔️ [**SQLite:**](https://github.com/Raofin/iBOS-Assignment/blob/6f45749eca339f515831bd1e04b27ae3aff94b5f/iBOS-Assignment/API/Startup.cs#L34-L35) SQLite as the database storage.\n\n✔️ [**Repository Pattern:**](https://github.com/Raofin/iBOS-Assignment/tree/master/iBOS-Assignment/DAL/Repositories) Repository pattern, providing a structured approach to data access and manipulation.\n\n✔️ **SOLID Principles:** The SOLID architecture principles to enhance code maintainability, extensibility, and reusability.\n\n✔️ [**Model Validation**](https://github.com/Raofin/iBOS-Assignment/tree/master/iBOS-Assignment/DAL/Models) Perfect model validations to ensure the integrity and validity of data inputs.\n\n## [**API Endpoints**](https://github.com/Raofin/iBOS-Assignment/blob/master/iBOS-Assignment/API/Controllers/ApiTasksController.cs)\n\n- **API#01. Update Employee Name and Employee Code**\n   - Allows to update an employee's name and code.\n   - Ensures uniqueness of employee codes to prevent duplicates.\n   - `PUT /api/tasks/UpdateNameAndCode/{employeeId}`\n\n- **API#02. Get 3rd Highest Salary Employee**\n   - Retrieves the employee who has the 3rd highest salary.\n   - `GET /api/tasks/GetThirdHighestSalaryEmployee`\n\n- **API#03. Get Employees with No Absent Records**\n   - Lists all employees sorted by maximum to minimum salary, who have no absent records.\n   - `GET /api/tasks/GetEmployeesWithNoAbsentRecords`\n\n- **API#04. Get Monthly Attendance Report**\n   - Generates a detailed monthly attendance report for all employees.\n   - Report columns include Employee Name, Date, Salary, Total Present, Total Absent, and Total Offday.\n   - `GET /api/tasks/MonthlyReport`\n\n- **API#05. Get Employee Hierarchy**\n   - Retrieves the employee hierarchy based on supervisor relationships.\n   - Input an Employee ID, and the API returns a hierarchical list of employees leading to the specified employee.\n   - `GET /api/tasks/GetHierarchy/{employeeId}`\n\n- **API#06. Get Auth Token**\n   - Generates and returns a JWT authentication token.\n   - `GET /api/Auth/GetToken`\n\n## License\nThis project is licensed under the [BSD 3-Clause](LICENSE).","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fraofin%2Fibos-assignment","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fraofin%2Fibos-assignment","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fraofin%2Fibos-assignment/lists"}