Converted models to TypeORM models

This commit is contained in:
Alexis
2021-07-31 12:38:04 +02:00
parent 477dc14e63
commit dce8bf95d6
12 changed files with 113 additions and 450 deletions

View File

@@ -7,6 +7,10 @@ import * as dotenv from 'dotenv'
dotenv.config();
// Packages
// TypeORM
import "reflect-metadata";
import morgan from 'morgan'
import helmet from 'helmet'
import express from 'express'
@@ -21,9 +25,7 @@ const apiPort = process.env.API_PORT
const app = new AuracleApi({
port: apiPort,
middlewares: [],
routers: [
new SpellRouter()
],
routers: [],
modules: [
express.json({ limit: '10kb' }),
morgan('dev'),