architecture besides db setup, say+roll

This commit is contained in:
stjet
2024-07-22 09:19:12 +00:00
commit f8780249ce
12 changed files with 783 additions and 0 deletions

12
db.ts Normal file
View File

@@ -0,0 +1,12 @@
import { MongoClient } from "mongodb";
//figure out the options and whatnot later
const client = new MongoClient(process.env.MONGO_CONNECTION_STRING);
let store, users, income;
client.connect().then(() => {
console.log("Connected to the database");
//
});