Skip to content
This repository has been archived by the owner on Oct 6, 2020. It is now read-only.

Provides a sandbox host using data scraped from a sandbox instance of the Flexport API v2.

License

Notifications You must be signed in to change notification settings

distributeaid/flexport-api-sandbox

Repository files navigation

Flexport API v2 Sandbox npm version

Build and Release semantic-release Renovate Mergify Status Commitizen friendly code style: prettier

This projects provides a sandbox host using data scraped from a sandbox instance of the Flexport API v2.

It can be used to run integration tests.

Development

ℹ️ These instructions apply to Unix-based development environments; Linux and Mac users should be fine. Windows users could look into setting up their development environment using WSL2.

Usage

npm ci
npx tsc
npm start # Starts the sandbox server at port 3000

You can now query against http://0.0.0.0:3000, e.g. http http://0.0.0.0:3000/shipments.

Updating the files

export SANDBOX_API_ENDPOINT=<...>
export SANDBOX_API_KEY=<...>
node dist/sandbox-dumper.js

About

Provides a sandbox host using data scraped from a sandbox instance of the Flexport API v2.

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published