You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
require("dotenv").config()
|
|
import { createConnection } from "typeorm"
|
|
import { createServer } from "./server"
|
|
import { connectionOptions } from "./server/connection"
|
|
;(async () => {
|
|
await createConnection(connectionOptions())
|
|
|
|
const port = 4000
|
|
await createServer(port)
|
|
})()
|
|
|