-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updated fieldnames in the mongo db to reflect recent changes to the a…
…pi (#18)
- Loading branch information
Showing
7 changed files
with
2,601 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,9 @@ | ||
import { config } from 'dotenv' | ||
config() | ||
import 'dotenv/config' | ||
|
||
/** | ||
* MongoDB | ||
*/ | ||
export const MONGO_DB = process.env.MONGO_DB || 'catalogue' | ||
export const MONGO_DB = process.env.MONGO_DB || 'sdp_stable' | ||
export const MONGO_DB_ADDRESS = process.env.MONGO_DB_ADDRESS || 'mongodb://localhost:27017' | ||
export const MONGO_DB_USERNAME = process.env.MONGO_DB_USERNAME || 'admin' | ||
export const MONGO_DB_PASSWORD = process.env.MONGO_DB_PASSWORD || 'password' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.