{"id":29363048,"url":"https://github.com/rub3n2000/caseexperis","last_synced_at":"2026-04-15T10:36:25.478Z","repository":{"id":44272236,"uuid":"224438955","full_name":"rub3n2000/CaseExperis","owner":"rub3n2000","description":"Case Experis A Case Done For Tidsbanken AS In Dotnet Core And React","archived":false,"fork":false,"pushed_at":"2022-02-10T21:07:24.000Z","size":2542,"stargazers_count":0,"open_issues_count":2,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2023-03-09T23:52:18.407Z","etag":null,"topics":["csharp","css","dotnet","dotnet-core","dotnetcore","entityframework","entityframeworkcore","es6","html5","less","react","reactjs","ts","typescript"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"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/rub3n2000.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}},"created_at":"2019-11-27T13:37:34.000Z","updated_at":"2020-07-23T15:42:23.000Z","dependencies_parsed_at":"2022-09-22T12:35:59.224Z","dependency_job_id":null,"html_url":"https://github.com/rub3n2000/CaseExperis","commit_stats":null,"previous_names":[],"tags_count":null,"template":null,"template_full_name":null,"purl":"pkg:github/rub3n2000/CaseExperis","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rub3n2000%2FCaseExperis","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rub3n2000%2FCaseExperis/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rub3n2000%2FCaseExperis/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rub3n2000%2FCaseExperis/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rub3n2000","download_url":"https://codeload.github.com/rub3n2000/CaseExperis/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rub3n2000%2FCaseExperis/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264428921,"owners_count":23606725,"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":["csharp","css","dotnet","dotnet-core","dotnetcore","entityframework","entityframeworkcore","es6","html5","less","react","reactjs","ts","typescript"],"created_at":"2025-07-09T09:22:12.618Z","updated_at":"2026-04-15T10:36:20.433Z","avatar_url":"https://github.com/rub3n2000.png","language":"TypeScript","readme":"# Case Experis\n### This Project Was Completed For Tidsbanken AS\n\nCase Experis is a vacation planner.\n\nUser's usually *(employees)* added by an admin and handed their user info,\ncan request to take a vacation on a set of days. \n\nThe admin can accept or deny vacation requests, as well as add notes\nto the vacations, or set up vacation embargoes *(periods of time where\nyou wont be allowed to request a vacation).*\n\nThe frontpage shows all accepted vacations.\nIf it's empty navigate to 9th of april 2020 to see\nhow it would work in practice. It probably hasn't been updated\nwith new requests for a while.\n\nLive version: https://caseexperis.herokuapp.com/\n\n#### Test user:\n        username/email: Marks@test.com\n        password: Pass_!1fa!\n\n#### Admin test user:\n        brukernavn / email: Admin@tidsbanken.no\n        passord: sbef4DagsGsfgaS4_s!\n\nNo real damage you can do as the system isn't in use at all. But try not to fill up the db to fast.\n\nTrello with changelog and more documentation : https://trello.com/b/GpM8Lm01/case-experis\n\nAPI live version: https://case-experis-api.herokuapp.com/api\n\n### API documentation:\n\n#### Auth Controller:\n\n**/auth/register POST. To register user.**\n\n        public string Fornavn { get; set; }\n        public string Etternavn { get; set; }\n        public string TelefonNummer { get; set; }\n        public string Email { get; set; }\n        public int AntallFerieTatt { get; set; }\n        public int AntallFerieIgjen { get; set; }\n        public string LanguageCode { get; set; }\n        public string Password { get; set; }\n        \n        All these fields should be included in request body.\n        \n**/auth/login POST. To login to user.**\n        \n        public string Email { get; set; }\n        public string Password { get; set; }\n        \n        All these fields should be included in request body.\n        \n#### Embargo Controller:\n\n**/embargo POST restricted to admin. To create new embargo. Bearer token required with admin role.**\n\n        public DateTime Date { get; set; }\n        \n        All these fields should be included in request body.\n        \n**/embargo GET. To get all embargoes.**\n\n        public int PageNumber { get; set; }\n        public int PageSize\n        public string Date { get; set; }    \n        \n        All these fields are optional to include in query string.\n        \n**/embargo/{id} GET. To get a specific embargo.**\n\n**/embargo/{id} PUT. To edit a specific embargo. restricted to admin. To create new embargo. Bearer token required with admin role.**\n\n        public DateTime Date { get; set; }\n        \n        All these fields should be included in request body.\n        \n**/embargo/{id} DELETE. To delete a specific embargo. restricted to admin. To create new embargo. Bearer token required with admin role.**\n\n#### Ferie Controller:\n\n**/ferier/new/{id of user} POST. To create a new vacation request. restricted to members. To create new embargo. Bearer token required.**\n\n        public DateTime Date { get; set; } = new DateTime();\n        public string AnsattNotat { get; set; } = \"test\";\n        public string AdminNotat { get; set; } = \"test\";\n        \n        All these fields should be included in request body.\n        \n**/ferier GET. To get all vacations.**\n\n        public int PageNumber { get; set; }\n        public int PageSize\n        public string Date { get; set; }    \n        \n        All these fields are optional to include in query string.\n        \n**/ferier/user/{user id} GET. To get a users vacations.**\n\n        public int PageNumber { get; set; }\n        public int PageSize\n        public string Date { get; set; }    \n        \n        All these fields are optional to include in query string.\n        \n**/ferier/{vacation id} GET. To get a specific vacation.**\n\n**/ferier/{vacation id} PUT. To edit a specific vacation. Restricted to member who owns the vacation or an admin. Bearer token with the same id as user who created or role of admin required.**\n\n        public DateTime Date { get; set; }\n        public bool isGodkjent { get; set; }\n        public string AnsattNotat { get; set; }\n        public string AdminNotat { get; set; }\n        \n        All these fields should be included in request body.\n        \n**/ferier/{vacation id} DELETE. To delete a specific vacation. Restricted to member who owns the vacation or an admin. Bearer token with the same id as user who created or role of admin required.**\n\n**/ferier/{vacation id} PATCH. To make a specific vacation request an accepted vacation. Restricted to admin. To create new embargo. Bearer token required with admin role.**\n\n#### User Controller:\n\n**/users GET to get all users.**\n\n**/users/{user id} GET. To get a specific user.**\n\n**/users/{user email} PUT. To edit a specific user. Restricted to member who owns the vacation or an admin. Bearer token with the same id as user who created or role of admin required.**\n\n        public string Fornavn { get; set; }\n        public string Etternavn { get; set; }\n        public string TelefonNummer { get; set; }\n        public string Email { get; set; }\n        public int AntallFerieTatt { get; set; }\n        public int AntallFerieIgjen { get; set; }\n        public string LanguageCode { get; set; }\n        public string Password { get; set; }\n        \n        All these fields should be included in request body.\n        \n**/users/{user email} DELETE. To delete a specific user. Restricted to admin. To create new embargo. Bearer token required with admin role.**\n\n**/users/{user email} PATCH. To make a specific user an admin. Restricted to admin. To create new embargo. Bearer token required with admin role.**\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frub3n2000%2Fcaseexperis","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frub3n2000%2Fcaseexperis","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frub3n2000%2Fcaseexperis/lists"}