This is the new Campaigns API IFR
Available on any deployed instance of the api: https://frontier.aether.staging.beamery.engineer/api-campaigns/docs/swagger
- node 18
- docker
- docker-compose`
- beamery-platform-tooling
- gitleaks (
brew install gitleaks
)
To start dependencies (mongo):
yarn docker:dev:start
To forward Chimera for ACL/Auth and User service:
kube_cloudflare.sh beamery-staging kubectl port-forward -n aether svc/auth 50050
kube_cloudflare.sh beamery-staging kubectl port-forward -n aether svc/user 50053
export CHIMERA_AUTH_SERVICE_LOADBALANCER=localhost &&\
export CHIMERA_AUTH_PORT=50050 &&\
export CHIMERA_USER_SERVICE_LOADBALANCER=localhost &&\
export CHIMERA_USER_PORT=50053
yarn start
You'll first need to get an authentication token with;
yarn get-token
This will output x-token-payload
with needs to be supplied to the API as a header, like follows;
x-token-payload: <your token>
eg.
curl localhost:8080/my-end-point \
--header 'x-token-payload:<your token>'