{"id":26292190,"url":"https://github.com/openpotato/codelisthub","last_synced_at":"2025-03-15T01:34:54.868Z","repository":{"id":279758348,"uuid":"936874202","full_name":"openpotato/codelisthub","owner":"openpotato","description":"Web service for the CodeListHub project","archived":false,"fork":false,"pushed_at":"2025-02-27T08:15:32.000Z","size":60,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-27T11:57:53.996Z","etag":null,"topics":["code-list","codelisthub","opencodelist"],"latest_commit_sha":null,"homepage":"https://www.codelisthub.org/en","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/openpotato.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":"2025-02-21T20:58:20.000Z","updated_at":"2025-02-27T08:17:24.000Z","dependencies_parsed_at":"2025-02-27T11:59:06.527Z","dependency_job_id":"5362335b-0a92-4b63-b0b3-a1ad0c91633a","html_url":"https://github.com/openpotato/codelisthub","commit_stats":null,"previous_names":["openpotato/codelisthub"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openpotato%2Fcodelisthub","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openpotato%2Fcodelisthub/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openpotato%2Fcodelisthub/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openpotato%2Fcodelisthub/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/openpotato","download_url":"https://codeload.github.com/openpotato/codelisthub/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243672022,"owners_count":20328734,"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":["code-list","codelisthub","opencodelist"],"created_at":"2025-03-15T01:34:52.882Z","updated_at":"2025-03-15T01:34:54.849Z","avatar_url":"https://github.com/openpotato.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"![GitHub](https://img.shields.io/github/license/openpotato/codelisthub)\n\n# CodeListHub\n\nThe service behind CodeListHub. Build with [.NET 9](https://dotnet.microsoft.com/).\n\n## Technology stack\n\n+ [PostgreSQL 17+](https://www.postgresql.org/) as database\n+ [ASP.NET 9](https://dotnet.microsoft.com/apps/aspnet) as web framework\n+ [Entity Framework Core 9](https://docs.microsoft.com/ef/) as ORM layer\n+ [Swagger UI](https://swagger.io/tools/swagger-ui/) for OpenAPI based documentation\n\n## Getting started \n\nThe following instructions show you how to set up a development environment on your computer.\n\n### Prerequisites\n\n+ Set up a local PosgreSQL 17 (or higher) instance.\n+ Clone or download the repository [CodeListHub.Data](https://github.com/openpotato/codelisthub.data).\n+ Clone or download this repository.\n+ Open the solution file `CodeListHub.sln` in Visual Studio 2022.\n\n### Configure the CodeListHub CLI\n\n+ Switch to the project `CodeListHub.CLI`.\n+ Make a copy of the the `appsettings.json` file and name it `appsettings.Development.json`.\n+ Exchange the content with the following JSON document and adjust the values to your needs. This configures the root folder for the csv data sources (the `src` folder in your local [OpenHolidaysApi.Data](https://github.com/openpotato/codelisthub.data) repository) and the database connection.\n  \n    ``` json\n    \"Sources\": {\n      \"RootFolderName\": \"c:\\\\codelisthub.data\\\\src\"\n    },\n    \"Database\": {\n      \"Server\": \"localhost\",\n      \"Database\": \"CodeListHub\",\n      \"Username\": \"postgres\",\n      \"Password\": \"qwertz\"\n    }\n    ```\n\n### Create and populate the database\n\n+ Build the `CodeListHub.CLI` project. \n+ Run the `CodeListHub.CLI` project with parameter `initdb --import`. This will create and populate the PostgreSQL database.\n\n### Configure the CodeListHub WebService\n\n+ Switch to the  `CodeListHub.WebService`. \n+ Make a copy of the the `appsettings.json` file and name it `appsettings.Development.json`.\n+ Exchange the content with the following JSON document and adjust the values to your needs. This configures the database connection.\n\n    ``` json\n    \"Database\": {\n      \"Server\": \"localhost\",\n      \"Database\": \"CodeListHub\",\n      \"Username\": \"postgres\",\n      \"Password\": \"qwertz\"\n    }\n    ```\n\n### Build and test the API\n\n+ Build the `CodeListHub.WebService` project.\n+ Run the `CodeListHub.WebService` project and play with the Swagger UI.\n\n## Can I help?\n\nYes, that would be much appreciated. The best way to help is to post a response via the Issue Tracker and/or submit a Pull Request.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopenpotato%2Fcodelisthub","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fopenpotato%2Fcodelisthub","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopenpotato%2Fcodelisthub/lists"}