Initial commit
This commit is contained in:
7
src/config/common-config.interface.ts
Normal file
7
src/config/common-config.interface.ts
Normal file
@@ -0,0 +1,7 @@
|
||||
export interface CommonConfig {
|
||||
AWS_ACCOUNT_ID: string;
|
||||
AWS_REGION: string;
|
||||
DB_DATABASE: string;
|
||||
DB_LOGGING?: boolean;
|
||||
DB_SYNCHRONIZE?: boolean;
|
||||
}
|
||||
9
src/config/local.config.ts
Normal file
9
src/config/local.config.ts
Normal file
@@ -0,0 +1,9 @@
|
||||
import { CommonConfig } from "./common-config.interface";
|
||||
|
||||
export default (): CommonConfig => ({
|
||||
AWS_ACCOUNT_ID: '123456789012',
|
||||
AWS_REGION: 'us-east-1',
|
||||
DB_DATABASE: ':memory:', // 'local-aws.sqlite', // :memory:
|
||||
DB_LOGGING: true,
|
||||
DB_SYNCHRONIZE: true,
|
||||
});
|
||||
Reference in New Issue
Block a user