Skip to content

Instantly share code, notes, and snippets.

@velotiotech
Created Jul 14, 2020
Embed
What would you like to do?
import "reflect-metadata";
import {createConnection} from "typeorm";
import { Tedis } from "tedis";
import logger from '../src/shared/Logger';
export async function intializeDB(): Promise<void> {
await createConnection();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment