mirror of
https://github.com/artegoser/create-ts-prod.git
synced 2025-02-23 12:53:15 +03:00
feat: template engine
This commit is contained in:
parent
ae815874e6
commit
3be237ae31
7 changed files with 572 additions and 173 deletions
|
@ -1,10 +1,19 @@
|
|||
import { IConfigService } from "./config/config.interface";
|
||||
import { ConfigService } from "./config/config.service";
|
||||
{{#if prisma}}
|
||||
import { PrismaClient } from "@prisma/client";
|
||||
{{/if}}
|
||||
|
||||
class App {
|
||||
config: IConfigService;
|
||||
{{#if prisma}}
|
||||
prisma: PrismaClient;
|
||||
{{/if}}
|
||||
constructor() {
|
||||
this.config = new ConfigService();
|
||||
{{#if prisma}}
|
||||
this.prisma = new PrismaClient();
|
||||
{{/if}}
|
||||
}
|
||||
init() {}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue