subito-lib
TypeScript icon, indicating that this package has built-in type declarations

0.18.8 • Public • Published

NPM npm

API Documentation

This package define & use theses following env vars. These vars are automatically available into your micro-service.

NAME type default value allowed values immutable
APP_ENV env local local, current, develop, integration, staging, production true
CRYPTO_IV_HASH secret dev
DEFAULT_TIMEZONE var Europe/Paris
DEFAULT_LOCALE var fr
DEFAULT_DATE_FORMAT var YYYY-MM-DDTHH:mm:ss.SSS
INTERNAL_GRAPHQL_ENDPOINT env http://graphql-endpoint/ true
FORCE_DEBUG var(bool) false true
JWT_KEY secret dev true
NODE_ENV env development development, test, production true
PWD env /app true
SERVICE_AUTH_KEY secret dev true
TOKEN_MAX_VALIDITY var(int) 7
TOKEN_VALIDITY_DEV var(int) 1

Readme

Keywords

none

Package Sidebar

Install

npm i subito-lib

Weekly Downloads

84

Version

0.18.8

License

EUPL-1.2

Unpacked Size

124 kB

Total Files

33

Last publish

Collaborators

  • xavius