{"id":21528188,"url":"https://github.com/znsio/specmatic-order-api-csharp","last_synced_at":"2025-07-03T07:05:46.566Z","repository":{"id":262945757,"uuid":"888851119","full_name":"znsio/specmatic-order-api-csharp","owner":"znsio","description":null,"archived":false,"fork":false,"pushed_at":"2025-02-13T06:21:08.000Z","size":17063,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":9,"default_branch":"main","last_synced_at":"2025-07-03T07:05:41.322Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C#","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/znsio.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,"zenodo":null}},"created_at":"2024-11-15T06:00:41.000Z","updated_at":"2025-02-13T06:21:12.000Z","dependencies_parsed_at":"2025-03-17T18:46:46.633Z","dependency_job_id":"76c3a3e1-1a11-4834-a16c-c019aceb44a4","html_url":"https://github.com/znsio/specmatic-order-api-csharp","commit_stats":null,"previous_names":["znsio/specmatic-order-api-csharp"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/znsio/specmatic-order-api-csharp","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/znsio%2Fspecmatic-order-api-csharp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/znsio%2Fspecmatic-order-api-csharp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/znsio%2Fspecmatic-order-api-csharp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/znsio%2Fspecmatic-order-api-csharp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/znsio","download_url":"https://codeload.github.com/znsio/specmatic-order-api-csharp/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/znsio%2Fspecmatic-order-api-csharp/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263279261,"owners_count":23441680,"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":[],"created_at":"2024-11-24T01:52:06.862Z","updated_at":"2025-07-03T07:05:46.546Z","avatar_url":"https://github.com/znsio.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Specmatic Sample Client Application\n\n* [Specmatic Website](https://specmatic.io)\n* [Specmatic Documentation](https://specmatic.io/documentation.html)\n\n![HTML client talks to client API which talks to backend api](specmatic-sample-architecture.svg)\n\nBFF = Backend For Frontend, the API invoked by the HTTP calls in the client HTML page (Website UI).\n\nThis project contains the product API, which is used by a small ecommerce client application.\n\nHere is the [contract](https://github.com/znsio/specmatic-order-contracts/blob/main/io/specmatic/examples/store/openapi/api_order_v3.yaml) governing the interaction of the client with the product API.\n\nThe architecture diagram was created using the amazing free online SVG editor at [Vectr](https://vectr.com).\n\n## Tech\n1. .NET core\n2. Specmatic\n3. Docker\n\n### Prerequisites\n\n1. Dotnet SDK\n2. If you are on a Windows OS, please use PowerShell.\n\n### How to run the application?\n\n1. Build the project using : `dotnet build`\n2. Run the application using : `dotnet run`\n\n### How to test the application?\n1. Using `dotnet test`\n\n## Running with Docker\n\n### 1. Start Docker Desktop\n\nEnsure Docker Desktop is running on your machine.\n\n### 2. Run the Application using dotnet run\n\nTo run the **.NET** application in Docker, execute the following command:\n```bash\ndocker run --network host -v \"$PWD/specmatic.yaml:/usr/src/app/specmatic.yaml\" \\\n-v \"$PWD/build/reports/specmatic:/usr/src/app/build/reports/specmatic\" \\\nznsio/specmatic test --port=8090 --host=host.docker.internal\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fznsio%2Fspecmatic-order-api-csharp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fznsio%2Fspecmatic-order-api-csharp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fznsio%2Fspecmatic-order-api-csharp/lists"}