You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Drift/server/src/server.ts

11 lines
270 B
TypeScript

import { createServer } from "http"
import { app } from "./app"
import config from "./lib/config"
import "./database"
;(async () => {
// await sequelize.sync()
createServer(app).listen(config.port, () =>
console.info(`Server running on port ${config.port}`)
)
})()