MCPcopy Create free account
hub / github.com/ShaanCoding/makeread.me / connectToProdDB

Function connectToProdDB

backend/src/db.ts:16–22  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

14}
15
16const connectToProdDB = () => {
17 mongoDBConnection = MONGO_PRIVATE_URL
18 mongoConnectionOptions = {
19 autoIndex: false,
20 dbName: 'makereadme',
21 }
22}
23
24const initTemplates = async () => {
25 try {

Callers 1

initMongoDBFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected