0.0.5 • Published 3 years ago

@nubohq/service v0.0.5

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

Nubo Service Package

Framework for creating services and gateways.

Required Environment Variables

Service

NODE_ENV=development
NUBO_DOMAIN=nubo.local
NUBO_TOKEN_SECRET=
NUBO_ADMIN_URL=http://nubo.local:4100
NUBO_SERVICES_URL=http://nubo.local:3000

Gateway

NODE_ENV=development
NUBO_DOMAIN=nubo.local
NUBO_TOKEN_SECRET=
NUBO_SERVICES_GATEWAY_SERVICE_LIST_NAMES="nubo-auth-service,nubo-apps-service"
NUBO_SERVICES_GATEWAY_SERVICE_LIST="http://nubo.local:3100/graphql,http://nubo.local:3200/graphql"

Local setup

Add the following entries to your hosts file.

127.0.0.1       nubo.local
::1             nubo.local