Skip to Content

Folder: config/

this folder is one drawer in the backend filing cabinet.

db.ts

Path: src/config/db.ts

Header from code: db.ts — CONNECT TO MONGODB ON STARTUP

MongoDB is the database where all persistent data lives (users, questions,


env.ts

Path: src/config/env.ts

Header from code: env.ts

Environment configuration (loaded once at process start)


permissions.ts

Path: src/config/permissions.ts

Header from code: permissions.ts

Admin permissions (central registry)


Last updated on