budibase/packages/server/index.js

10 lines
218 B
JavaScript

require("dotenv").config()
const app = require("./app")
;(async () => {
const server = await app()
server.on("listening", () => {
console.log(`Budibase Server listening on port ${process.env.PORT}`)
})
})()