Files
PantryHub/app.js
T
2026-07-26 22:18:52 +02:00

25 lines
477 B
JavaScript

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("===================================");
});