feat: initial import
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
import express from "express";
|
||||
import ViteExpress from "vite-express";
|
||||
|
||||
const app = express();
|
||||
|
||||
app.get("/hello", (_, res) => {
|
||||
res.send("Hello Vite + React + TypeScript!");
|
||||
});
|
||||
|
||||
ViteExpress.listen(app, 3000, () =>
|
||||
console.log("Server is listening on port 3000..."),
|
||||
);
|
||||
Reference in New Issue
Block a user