12 lines
354 B
TypeScript
12 lines
354 B
TypeScript
import * as plugins from './rendertron.plugins.js';
|
|
|
|
export const db = new plugins.smartdata.SmartdataDb({
|
|
mongoDbUrl:
|
|
'mongodb+srv://<username>:<password>@losslessone-main.zee8suk.mongodb.net/myFirstDatabase?retryWrites=true&w=majority',
|
|
mongoDbName: 'rendertron',
|
|
mongoDbPass: 'wxW4LBa3sxPjyXGf',
|
|
mongoDbUser: 'rendertron',
|
|
});
|
|
|
|
db.init();
|