mirror of
https://github.com/spacebarchat/server.git
synced 2026-04-01 20:05:43 +00:00
Database
This commit is contained in:
6
src/Database.ts
Normal file
6
src/Database.ts
Normal file
@@ -0,0 +1,6 @@
|
||||
import { MongoDatabase } from "lambert-db";
|
||||
|
||||
// TODO: load url from config
|
||||
const db = new MongoDatabase("mongodb://127.0.0.1:27017/lambert?readPreference=secondaryPreferred");
|
||||
|
||||
export default db;
|
||||
Reference in New Issue
Block a user