End to end test utilizing Mock API, Airnode feed and signed API.
-
Copy the Airnode feed secrets. Whilst inside
srcruncp airnode-feed/secrets.example.env airnode-feed/secrets.env. If you are using Docker Desktop, you need to change the URL inairnode-feed/secrets.envfromlocalhosttohost.docker.internal, because Airnode feed is running inside a Docker container. -
Copy the Signed API secrets. Whilst inside
srcruncp signed-api/secrets.example.env signed-api/secrets.env -
Build the latest Docker images. Run
pnpm run docker:buildfrom the monorepo root. The e2e flow uses the docker images. -
This module contains services (or configurations) that are integrated together. Specifically:
airnode-feed- Contains the configuration for the Airnode feed service.signed-api- Contains the configuration for the signed API service.data-provider-api.ts- Contains the configuration for the data provider API service (mocked express server).user.ts- Contains the configuration for the user service (infinite fetch from signed API).
You are free to modify the configurations to test different scenarios.
-
There are
start:<some-service>scripts to start the services. It is recommended to start each service in a separate terminal and in this order:pnpm run start:data-provider-apipnpm run start:signed-apipnpm run start:airnode-feedpnpm run start:user