Skip to content

Instantly share code, notes, and snippets.

@seandearnaley
seandearnaley / index.ts
Last active February 1, 2020 23:09
BrainStrike Server index.ts
import "reflect-metadata";
import express = require("express");
import { config as setupDotEnv } from "dotenv";
import {
createConnection,
Connection,
Repository,
ConnectionOptions
} from "typeorm";
import { Card, Category } from "./entity";