Skip to Content
Config folderOverview

Config folder

Path: hono-backend/src/config/

Config files run at startup. They answer: “Are we configured correctly?” and “Can we reach the database?”

FileJob
env.tsRead .env, validate secrets, export env object
db.tsmongoose.connect, sync indexes
permissions.tsAdmin role → allowed actions map

No HTTP routes live here.

Last updated on