-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(Add a nats client to consume cic-chain-events.): Create a consum…
…er to parse events from cic-chain-events and handle porting to Jessamy after processing and tagging. - Add nats plugin and supporting business logic implementation. - Make app builder and initialization functions async to accommodate async functions related to nats. (What are teh repercussions of this ? ). - Update .env.example file. - Add convenience script for dev-xp to source env files (env.sh). - Add nats deps. - Refactor plugins dir for cleaner implementation. - Add `-r tsconfig-paths/register` to accommodate path aliasing in ts-config.
- Loading branch information
Mango Habanero
committed
Jan 25, 2023
1 parent
86c0e98
commit 37a452b
Showing
13 changed files
with
320 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,20 @@ | ||
API_VERSION=v1 | ||
AFRICAS_TALKING_VALID_IPS=127.0.0.1,0.0.0.0 | ||
AFRICASTALKING_VALID_IPS=127.0.0.1,0.0.0.0 | ||
CIC_CUSTODIAL_BALANCE_ENDPOINT=http://localhost:5000/api/balance | ||
CIC_CUSTODAIL_REGISTER_ENDPOINT=http://localhost:5000/api/register | ||
CIC_CUSTODIAL_TRANSFER_ENDPOINT=http://localhost:5000/api/transfer | ||
CIC_GRAPH_GRAPHQQL_ENDPOINT=http://localhost:6080/graphql | ||
CIC_GRAPH_HASURA_ADMIN_SECRET=admin | ||
DATABASE_URL=postgres://postgres:password@localhost:5432/cic_ussd | ||
LOG_LEVEL=debug | ||
NATS_CLIENT_NAME=cic-ussd | ||
NATS_DRAIN_ON_SHUTDOWN=true | ||
NATS_URL=nats://localhost:4222 | ||
NATS_SUBJECT=CHAIN.* | ||
NODE_ENV=development | ||
REDIS_DATABASE=0 | ||
REDIS_HOST=localhost | ||
REDIS_PASSWORD=xD | ||
REDIS_PORT=6379 | ||
SERVER_HOST=127.0.0.1 | ||
SERVER_PORT=5000 | ||
SERVER_PORT=5000 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
#!/bin/bash | ||
PROJECT_ROOT_DIR=$(dirname "$(dirname "$(realpath "$0")")") | ||
echo "PROJECT_ROOT_DIR=$PROJECT_ROOT_DIR" | ||
eval "$(cat "$PROJECT_ROOT_DIR/.env" | sed 's/^/export /')" |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.