@alnr/utils v0.1.28
@lnr/utils
LNRs utility functions
npm install @alnr/utils
Environment Variables
This package requires the following environment variables to be set:
Gmail functions
GOOGLE_CLIENT_ID
: Your OAuth 2.0 client ID.GOOGLE_CLIENT_SECRET
: Your OAuth 2.0 client secret.GOOGLE_REDIRECT_URI
: The redirect URI configured for your OAuth 2.0 client.
MongoDB database functions
MDB_USER
: MongoDB userMDB_PW
: MongoDB passwordMDB_CLUSTER
: MongoDB ClusterMDB_DOMAIN
: MongoDB domain
the above variables is referenced in the below connection string.
mongodb+srv://${USER}:${PW}@${CLUSTER}.${DOMAIN}.mongodb.net/?retryWrites=true&w=majority
You can set these in your environment, or in a .env
file in your project root.
8 months ago
8 months ago
9 months ago
9 months ago
9 months ago
9 months ago
9 months ago
9 months ago
9 months ago
8 months ago
8 months ago
9 months ago
9 months ago
9 months ago
9 months ago
9 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago