Add Boilerplate express; Add scripts; Setup folderstructure;

This commit is contained in:
Stefan-5422
2022-02-25 12:59:05 +01:00
parent c9455c2ab8
commit c32fffd538
6 changed files with 550 additions and 1 deletions
+14
View File
@@ -0,0 +1,14 @@
import express from "express";
const app = express();
async function main() {
app.get("/", (req, res) => {
res.send("Hello World!");
});
app.listen(3000, () => {
console.log("Server is running on port 3000");
});
}
main();