Versie module 1 van 26-7
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
require("dotenv").config();
|
||||
|
||||
const http = require("http");
|
||||
|
||||
const createApp = require("./config/express");
|
||||
|
||||
const app = createApp();
|
||||
|
||||
const server = http.createServer(app);
|
||||
|
||||
const PORT = process.env.PORT || 3000;
|
||||
|
||||
server.listen(PORT, () => {
|
||||
|
||||
console.log("");
|
||||
|
||||
console.log("===================================");
|
||||
|
||||
console.log("🚀 PantryHub gestart");
|
||||
|
||||
console.log(`🌍 http://localhost:${PORT}`);
|
||||
|
||||
console.log("===================================");
|
||||
|
||||
});
|
||||
Reference in New Issue
Block a user