init project structure
This commit is contained in:
11
src/main.ts
Normal file
11
src/main.ts
Normal file
@@ -0,0 +1,11 @@
|
||||
import express from "express";
|
||||
|
||||
const app = express();
|
||||
|
||||
app.listen(3000, "localhost", (err) => {
|
||||
if (err) {
|
||||
console.log("Error starting server:", err);
|
||||
} else {
|
||||
console.log("Server is running at http://localhost:3000");
|
||||
}
|
||||
});
|
||||
Reference in New Issue
Block a user