Skip to main content

Generic 2

General Notes

  • << general-notes >> g2

Environment Variables

NameDefault valueUnitDescription
API_HOSTlocalhostHost IP or name
API_PORT3000Port number
LOG_LEVELinfoThe server logs for the level specified and for all the levels higher than it
MONGO_MAX_POOL_SIZE30Maximum number of mongoDB connections opened in the pool
LIST_OF_ISSUER_CLAIMSComma separated string valuesList of allowed iss claims while verifying a JWT access token
PUBLIC_KEYPublic key corresponding to private key to verify JWT
MONGO_CONNECTION_STRINGMongoDB server connection string
PRIVATE_KEYPrivate key required for signing the JWT access token

Mongo Schema

< schema-name >

{}

Redis Schema

< schema-name >

{}

Visit Later