global-retro-graphql
v1.0.0
Published
<a name="readme-top"></a>
Downloads
1
Readme
Retrospect Legacy GraphQL Service
About The Project
A legacy GraphQL service for Retrospect web application.
Getting Started
Prerequisites
This project requires Redis and related Kafka streams to be set up, if running locally, please follow the Retrospect-setup repository to setup local environment.
Installation
Here is the sample of your .env-dev file, please modify based on your fit:
DATABASE_URL_WITH_SCHEMA=postgresql://postgres:postgres@localhost:5432/retrospect_db?schema=retrospect_db
GRAPHQL_JWT_SECRET=20A10d20Y18v11a03D11y11v06A09d07Y05v
TRUCODE_CLIENT_SECRET=decf5f374930f8f3a1305d90f20145e56ab4105b917d24b3f5af102b09ed43c488b27ece9654449e851fd9962d0625cc712fcffe19f4c78999465fc4d728cd0e
ARTIFACT_JWT_SHARED_SECRET=46d8a68d86127efe
SCHEME=http
DOMAIN=localhost:3000
NODE_ENV=dev
APP_NAME=graphql
RUM_SERVER_PATH=/apm-server*
KAFKA_CLIENT_CONFIG_FILE='./rdkafka_config.ini'
REDIS_URL=redis://localhost:6379
REDIS_PASS="95e4xOTUJNbze2e43gwK"
GRAPHQL_USER_SESSION_EXPIRATION=1800
GRAPHQL_CREDENTIALS=devuser:password
KAFKA_URL=localhost:9092
APM_SERVER_URL=http://localhost:8700
KAFKA_REGISTRY_URL=http://localhost:8081
GRAPHQL_JWT_EXPIRATION=2h
CLIENT=poc
GRAPHQL_PATH=/graphql
GRAPHQL_HEALTH_PATH=/health
RETROSPECT_SCHEDULED_SERVICES=retrospect-scheduled-services
RETROSPECT_SCHEDULED_SERVICES_API_KEY=local_key
TRUCODE_ENV=stage
TRUCODE_CLIENT_ID=iodinesoftware
TRUCODE_GRANT_TYPE=client_credentials
TRUCODE_TOKEN_URI=https://wsstage.trucode.com/sts/oauth2/token
TRUCODE_GROUPER_BASE_URL=http://localhost:5000
NODE_OPTIONS=
IMPORT_MAP_URL=https://uat-mfe-store.iodinesoftware.com/import-maps/import-map.json
PMRS_GRAPHQL_URL=http://localhost:8081/pmrs/graphql
VISITMASTER_GRAPHQL_URL=http://localhost:3001/graphql
RETROSPECT_OIDC_BASE_URI=https://iodine-dev.oktapreview.com
RETROSPECT_OIDC_CLIENT_ID=0oaektu8525AKpMl81d7
RETROSPECT_OIDC_CLIENT_SECRET=6cXPiGSB0dQHZJvlWuv5isaJ7my4r5ITIQeCpsufnIPlMG2kN0pb34tbkdOWO3lo
RETRO2_GRAPHQL_URL=http://localhost:3001/retro2-graphql
~