Files
kener/main.js
T
Raj Nandan Sharma c57f75d1ea push 0.0.16 to git
2024-11-12 21:32:29 +05:30

13 lines
290 B
JavaScript

import { handler } from "./build/handler.js";
import dotenv from "dotenv";
dotenv.config();
import express from "express";
const PORT = process.env.PORT || 3000;
const app = express();
app.use(handler);
app.listen(PORT, () => {
console.log("Kener is running on port " + PORT + "!");
});