From zero

This commit is contained in:
2024-06-18 14:45:31 +08:00
commit 9e56b56e9d
39 changed files with 6792 additions and 0 deletions

12
server/index.js Normal file
View File

@@ -0,0 +1,12 @@
import express from "express";
const app = express();
const PORT = 3000;
app.get("/", (req, res) => {
res.send("Hello from Express!");
});
app.listen(PORT, () => {
console.log(`Express server running at http://localhost:${PORT}/`);
});