1
0
Fork 0
mirror of synced 2024-07-05 22:40:39 +12:00
budibase/packages/server/index.js

12 lines
379 B
JavaScript
Raw Normal View History

2019-06-14 21:05:46 +12:00
const app = require("./app");
const config = require("./config");
2019-07-09 18:29:50 +12:00
const buildAppContext = require("./initialise/buildAppContext");
2019-06-08 01:18:10 +12:00
2019-07-13 21:35:57 +12:00
(async () => {
const bbContext = await buildAppContext(config(), true);
const server = await app(bbContext);
server.on("listening", () => {
console.log(`Budibase Server listening on port ${bbContext.config.port}`);
})
})()