// This is a sample file provided by diachron. You are encouraged to modify it. // Application services go here. A service encapsulates a capability that // handlers depend on: database queries, external API calls, business logic // that doesn't belong in a handler. // // The framework provides core services via `core` (from ./diachron/core): // core.database, core.logging, core.misc, etc. This file is for your // application's own services. import { core } from "./diachron/core"; const db = core.database.db; export { db };