Skip to content

bifravst/http-api-mock

HTTP API Mock npm version

GitHub Actions semantic-release Renovate @commitlint/config-conventional code style: prettier ESLint: TypeScript

Provides a mock HTTP API for testing third-party API integrations.

Create a new mock HTTP API

Provide your AWS credentials.

Create a new mock API:

npx @bifravst/http-api-mock

{
  "stackName": "http-api-mock-69c2c4b9",
  "responsesTableName": "http-api-mock-69c2c4b9-httpapimockresponses562FCFC7-C80OCULJKYFE",
  "apiURL": "https://liv73h149l.execute-api.eu-west-1.amazonaws.com/prod/",
  "requestsTableName": "http-api-mock-69c2c4b9-httpapimockrequests2216D487-608PM7EHETW4"
}

Describe a mock HTTP API

npx @bifravst/http-api-mock describe <stackName>

Delete a mock HTTP API

npx @bifravst/http-api-mock destroy <stackName>