Database ORM
MySQL/PostgreSQL support with transactions, hooks, session locks, and automatic migrations
TypeScript foundation library built on Deepkit for building robust server applications

npm install @zyno-io/dk-server-foundation
# or
yarn add @zyno-io/dk-server-foundationimport { createApp, BaseAppConfig, createMySQLDatabase } from '@zyno-io/dk-server-foundation';
class AppConfig extends BaseAppConfig {
MY_SETTING!: string;
}
class MyDB extends createMySQLDatabase({}, [UserEntity]) {}
const app = createApp({
config: AppConfig,
db: MyDB,
cors: config => ({ hosts: ['https://example.com'], credentials: true }),
controllers: [UserController],
providers: [UserService]
});
app.run();The built-in DevConsole provides a comprehensive development dashboard:










createApp() sets up Deepkit with opinionated defaults@zyno-io/config integration@WorkerJob() decoratorMIT License - see LICENSE for details.