mirror of
https://github.com/rajnandan1/kener.git
synced 2026-08-07 07:14:56 +00:00
13 lines
290 B
JavaScript
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 + "!");
|
|
});
|