. <p align="center"> Description Nestjs-easyconfig loads configs from your .env (Wraps dotenv module) ⚙️ 🔥 Installation $ npm install nestjs-easyconfig $ yarn add nestjs-easyconfig Usage With config file supplied (basic): import { Module } from '@nestjs/common' import { EasyconfigModule } from 'nestjs-easyconfig' @Module({ imports: [EasyconfigModule.register({ path: './config/.env' })] }) export class AppModule {} With config file supplied and safe set to true: import { Module } from '@nestjs/common'; import { EasyconfigModule } from 'nestjs-easyconfig'; @Module({ imports: [EasyconfigModule.register({ path: './config/.env', safe: true })], }) export class AppModule {} By default safe is set to false. When safe is set to true, the module compares the supplied env file with the sample env file to find missing keys. If…
pg-promise Module for Nest framework Description This's a nest-pgpromise module for Nest This quickstart guide will show you how to install and execute an example nestjs program.. This document assumes that you have a working nodejs setup in place. Download from NPM npm install --save nest-pgpromise Initialize You need five items in order to connect to MinIO object storage server. Params Description host Host address. port TCP/IP port number. database The name of db to connect to. username The username to access db. password The username's password Provide the credentials for minio module by importing it as : As Connection object import { Module } from '@nestjs/common' import { NestPgpromiseClientController } from './nest-pgpromise-client.controller' import { NestPgpromiseModule } from '../nest-pgpromise.module' @Module({ controllers: [NestPgpromiseClientController], imports: [ NestPgpromiseModule.register({ connection: { host: 'localhost'…
Help needed . There are couple of issues. contributions are welcome
rubiin / nestjs-easyconfig
Manage configs on the go 🔥
.
Description
Nestjs-easyconfig loads configs from your⚙️ 🔥
.env
(Wraps dotenv module)Installation
Usage
With config file supplied (basic):
With config file supplied and safe set to true:
By default safe is set to false. When safe is set to
true
, the module compares the supplied env file with the sample env file to find missing keys. If…rubiin / nest-pgpromise
A Module for Utilizing Pg-promise with NestJS
pg-promise Module for Nest framework
Description
This's a nest-pgpromise module for Nest This quickstart guide will show you how to install and execute an example nestjs program..
This document assumes that you have a working nodejs setup in place.
Download from NPM
Initialize
You need five items in order to connect to MinIO object storage server.
Provide the credentials for minio module by importing it as :
As Connection object