{"id":21121220,"url":"https://github.com/nekiro/company-web-api","last_synced_at":"2026-04-14T18:32:35.255Z","repository":{"id":101109986,"uuid":"301869735","full_name":"nekiro/Company-Web-Api","owner":"nekiro","description":"Web Api Application written in .Net Core 3.1, using RestfulApi, Entity Framework and MSSQL","archived":false,"fork":false,"pushed_at":"2021-05-07T16:55:39.000Z","size":36,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-14T11:23:16.026Z","etag":null,"topics":["api","api-server","entity-framework","mssql","netcore","resful-api"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nekiro.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2020-10-06T22:29:32.000Z","updated_at":"2021-05-07T16:55:41.000Z","dependencies_parsed_at":null,"dependency_job_id":"f65dc2e1-7b06-485f-9dcf-d21e66f52785","html_url":"https://github.com/nekiro/Company-Web-Api","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/nekiro/Company-Web-Api","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nekiro%2FCompany-Web-Api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nekiro%2FCompany-Web-Api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nekiro%2FCompany-Web-Api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nekiro%2FCompany-Web-Api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nekiro","download_url":"https://codeload.github.com/nekiro/Company-Web-Api/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nekiro%2FCompany-Web-Api/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31810737,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-14T18:05:02.291Z","status":"ssl_error","status_checked_at":"2026-04-14T18:05:01.765Z","response_time":153,"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":["api","api-server","entity-framework","mssql","netcore","resful-api"],"created_at":"2024-11-20T03:26:32.199Z","updated_at":"2026-04-14T18:32:35.239Z","avatar_url":"https://github.com/nekiro.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Company Web Api\n\nCompany Web Api is a simple Web Api Console App, which let you create new companies and manage them. Companies and their employees are saved in relational database.\nAditionally requests are protected by Base64 basic authentication.\nAuthentication header is following:\n```\nBasic \u003cencodedBase64 admin:admin\u003e\n```\n\nThis was originally written for a job interview, but they said I'm not good enough :(\n\nTechnologies:\n  - .Net Core 3.1\n  - Restful Api\n  - C#\n  - MSSQL\n  - Entity Framework\n\n## Supported requests\n\n```\nPOST /company/create\n```\n\n```\n{\n    \"Name\": \"\u003cstring\u003e\",\n    \"EstablishmentYear”: \u003cinteger\u003e,\n    \"Employees\": [{\n        \"FirstName\": \"\u003cstring\u003e\",\n        \"LastName\": \"\u003cstring\u003e\",\n        \"DateOfBirth\": \"\u003cDateTime\u003e\",\n        \"JobTitle\": \"\u003cstring(enum)\u003e\"\n    }, ... ]\n}\n```\nAnswer\n```\n{\n    \"Id”: \u003clong\u003e\n}\n```\n\u0026nbsp;\n```\nPOST /company/search\n```\n```\n{\n    \"Keyword\": \"\u003cstring\u003e\",\n    \"EmployeeDateOfBirthFrom\": \"\u003cDateTime?\u003e\",\n    \"EmployeeDateOfBirthTo\": \"\u003cDateTime?\u003e\",\n    \"EmployeeJobTitles\": [“\u003cstring(enum)\u003e”, ...]\n}\n```\nAnswer\n```\n[{\n        \"Name\": \"\u003cstring\u003e\",\n        \"EstablishmentYear”: \u003cinteger\u003e,\n        \"Employees\": [{\n        \"FirstName\": \"\u003cstring\u003e\",\n        \"LastName\": \"\u003cstring\u003e\",\n        \"DateOfBirth\": \"\u003cDateTime\u003e\",\n        \"JobTitle\": \"\u003cstring(enum)\u003e\"\n}, ...]\n```\n\u0026nbsp;\n```\nPUT /company/update/\u003cid\u003e\n```\n```\n{\n    \"Name\": \"\u003cstring\u003e\",\n    \"EstablishmentYear”: \u003cinteger\u003e,\n    \"Employees\": [{\n        \"FirstName\": \"\u003cstring\u003e\",\n        \"LastName\": \"\u003cstring\u003e\",\n        \"DateOfBirth\": \"\u003cDateTime\u003e\",\n        \"JobTitle\": \"\u003cstring(enum)\u003e\"\n    }, ...]\n}\n```\n\u0026nbsp;\n```\nPUT /company/delete/\u003cid\u003e\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnekiro%2Fcompany-web-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnekiro%2Fcompany-web-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnekiro%2Fcompany-web-api/lists"}