Important
Please reference Handover Documentation before spawning this project:
Table of Contents
-
Install project dependencies
<!-- npm --> npm i <!-- yarn --> yarn <!-- pnpm --> pnpm i
-
(optional) Start local Redis container
<!-- npm --> npm run redis <!-- yarn --> yarn redis <!-- pnpm --> pnpm redis
-
Start Server
Development:
<!-- npm --> npm run dev <!-- yarn --> yarn dev <!-- pnpm --> pnpm dev
Production:
<!-- npm --> npm start <!-- yarn --> yarn start <!-- pnpm --> pnmp start
-
(optional) Tear down Redis container
<!-- npm --> npm run redis:stop <!-- yarn --> yarn redis:stop <!-- pnpm --> pnpm redis:stop
Generates JSON list of GatewayMetrics
Headers:
- month: reference Month enum
- (optional) input: absolute path for input JSON file (default:
./data/input.json
) - (optional) output: absolute path for output (default:
./data/output.json
)
Enqueues Credential metadata to be issued by the
issue-credential
BullMQ Queue.
Headers:
- credential: Filepath to JSON list of GatewayMetrics for wallets (e.g.
./data/output.json
)
Enqueues list of wallets to be created or updated by the
create_or_update_loyalty_pass
BullMQ Queue.
Headers:
- loyalty-pass: Filepath to JSON list of wallets