Converted models to TypeORM models
This commit is contained in:
@@ -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'),
|
||||
|
||||
Reference in New Issue
Block a user