πMongoDB
This service is responsible for connecting to the MongoDB database.
Imports
import { MongoDBService } from 'niro-health';import { MongoDBModule } from 'niro-health';import type { IMongoDBService } from 'niro-health';Environment Variables
name
description
MONGODB_USERNAME=mongodb
MONGODB_PASSWORD=mongodb
MONGODB_HOST=localhost
MONGODB_PORT=27017
MONGODB_NAME=project_development
MONGODB_GRIDFS_NAME=project_development_gridfs
MONGODB_CONNECTION_SSL=false
MONGODB_PROJECT_NAME=niro_healthMethod of Use
With dependencies
Interface
Service
Properties
Property
Scope
Description
Methods
Method
Scope
Description
Last updated