{"id":21528205,"url":"https://github.com/znsio/specmatic-order-api-java","last_synced_at":"2025-04-09T23:41:57.796Z","repository":{"id":177208717,"uuid":"641599527","full_name":"znsio/specmatic-order-api-java","owner":"znsio","description":null,"archived":false,"fork":false,"pushed_at":"2025-03-19T15:48:04.000Z","size":360,"stargazers_count":1,"open_issues_count":10,"forks_count":2,"subscribers_count":8,"default_branch":"main","last_synced_at":"2025-03-19T16:39:07.039Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Kotlin","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","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":"License.md","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-05-16T20:13:25.000Z","updated_at":"2025-03-19T15:48:09.000Z","dependencies_parsed_at":"2023-11-29T04:32:12.263Z","dependency_job_id":"6585c75e-a614-4a04-b1d9-13999952e69e","html_url":"https://github.com/znsio/specmatic-order-api-java","commit_stats":null,"previous_names":["znsio/specmatic-order-api-java"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/znsio%2Fspecmatic-order-api-java","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/znsio%2Fspecmatic-order-api-java/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/znsio%2Fspecmatic-order-api-java/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/znsio%2Fspecmatic-order-api-java/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/znsio","download_url":"https://codeload.github.com/znsio/specmatic-order-api-java/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248131470,"owners_count":21052819,"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:11.225Z","updated_at":"2025-04-09T23:41:57.763Z","avatar_url":"https://github.com/znsio.png","language":"Kotlin","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Specmatic Sample Client Application\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### How to run the application?\n\n1. Build the project using : `./mvnw clean install`\n2. For unix platform, run the application using : `./mvnw spring-boot:run`\n3. For windows platform, run the application using : `mvnw.cmd spring-boot:run`\n\n### How to test the application?\n1. Using maven: `mvn clean test`\n2. Using docker:\n    - Start Docker Desktop\n    - Run the application `./mvnw spring-boot:run`\n    - Run the tests `docker run --network host -v \"$PWD/specmatic.yaml:/usr/src/app/specmatic.yaml\" -v \"$PWD/build/reports/specmatic:/usr/src/app/build/reports/specmatic\"  znsio/specmatic test --port=8090 --host=host.docker.internal`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fznsio%2Fspecmatic-order-api-java","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fznsio%2Fspecmatic-order-api-java","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fznsio%2Fspecmatic-order-api-java/lists"}