{"id":21528200,"url":"https://github.com/znsio/specmatic-order-api-nodejs","last_synced_at":"2025-08-23T02:33:44.587Z","repository":{"id":229187188,"uuid":"776059067","full_name":"znsio/specmatic-order-api-nodejs","owner":"znsio","description":"Specmatic Order API Node.js","archived":false,"fork":false,"pushed_at":"2025-06-08T19:59:21.000Z","size":1989,"stargazers_count":0,"open_issues_count":2,"forks_count":0,"subscribers_count":8,"default_branch":"main","last_synced_at":"2025-06-08T20:33:20.665Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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-03-22T15:43:44.000Z","updated_at":"2025-06-08T19:59:25.000Z","dependencies_parsed_at":"2024-03-25T06:26:38.537Z","dependency_job_id":"705ebd1d-8559-4244-a55d-af63908911b3","html_url":"https://github.com/znsio/specmatic-order-api-nodejs","commit_stats":null,"previous_names":["znsio/specmatic-order-api-nodejs"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/znsio/specmatic-order-api-nodejs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/znsio%2Fspecmatic-order-api-nodejs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/znsio%2Fspecmatic-order-api-nodejs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/znsio%2Fspecmatic-order-api-nodejs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/znsio%2Fspecmatic-order-api-nodejs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/znsio","download_url":"https://codeload.github.com/znsio/specmatic-order-api-nodejs/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/znsio%2Fspecmatic-order-api-nodejs/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271732456,"owners_count":24811333,"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","status":"online","status_checked_at":"2025-08-23T02:00:09.327Z","response_time":69,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2024-11-24T01:52:08.926Z","updated_at":"2025-08-23T02:33:44.556Z","avatar_url":"https://github.com/znsio.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Specmatic Sample: Nodejs-Express Order API\n\n- [Specmatic Website](https://specmatic.io)\n- [Specmatic Documentation](https://specmatic.io/documentation.html)\n\nThis sample project illustrates the implementation of contract-driven development and contract testing within a Nodejs(Express) application. In this context, Specmatic is utilized to function as a client, making calls to API service according to its OpenAPI specification to validate its functionality.\n\nHere is the API's [contract/open api spec](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\n## Tech\n\n1. Express\n2. Specmatic\n3. Jest\n\n## Setup\n\n1. Install [NodeJS](https://nodejs.org/en)\n2. Install JRE 17 or later.\n\n## Install Dependencies\n\nTo install all necessary dependencies for this project, navigate to the project's root directory in your terminal and execute\n\n```shell\nnpm install\n```\n\n## Execute Tests and Validate Contracts with Specmatic\n\nExecuting this command will initiate Specmatic and execute the tests on the Nodejs(Express) application.\n\n```shell\nnpm run test\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fznsio%2Fspecmatic-order-api-nodejs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fznsio%2Fspecmatic-order-api-nodejs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fznsio%2Fspecmatic-order-api-nodejs/lists"}