0.0.1 • Published 4 years ago
connect-customer-api v0.0.1
connect-customer-api
Microservice responsible for creating and managing customer records
Pre-requisites
- Migration file
- SQL Database Access
- Unit and integration tests
- Keycloak server for authorization
Environment Variables
NODE_ENV=develop
LOG_LEVEL=info
API_LOGGER=true
PORT=3000
DB_CONNECTION_STRING=mysql://<username>:<password>@<connection_ip>:<port>/<default_db>
CONNECT_URLS='{"connect": "connect"}'
CONNECT_TOPICS={"connect": "connect" }
GOOGLE_APPLICATION_CREDENTIALS=<your google service-account.json path>
GOOGLE_APPLICATION_PROJECT=mclinica-dev
SWAGGER_BASE_PATH=/
Steps to allow all users to view terms and condition url
- Go to https://console.cloud.google.com/storage/browser/mclinica-dev.appspot.com?project=mclinica-dev
- Go to Permission tab
- Click Add members
- Select "allUsers"
- Click Select a role
- Select Storage And Storage Object Viewer.
NOTE: GOOGLE_APPLICATION_CREDENTIALS
is only used in local development if an UnhandledPromiseRejectionWarning: Error: Resource not found
error is encountered.
0.0.1
4 years ago