Initial server-stack setup
This commit is contained in:
22
apps/tessavb/server.js
Normal file
22
apps/tessavb/server.js
Normal file
@@ -0,0 +1,22 @@
|
||||
const express = require("express");
|
||||
const app = express();
|
||||
|
||||
app.get("/", (req, res) => {
|
||||
res.send(`<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>tessavb.com</title>
|
||||
<style>
|
||||
body { margin: 0; display: flex; justify-content: center; align-items: center; min-height: 100vh; font-family: system-ui, sans-serif; background: #fafafa; color: #333; }
|
||||
h1 { font-size: 3rem; font-weight: 300; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<h1>tessavb.com</h1>
|
||||
</body>
|
||||
</html>`);
|
||||
});
|
||||
|
||||
app.listen(8080, () => console.log("tessavb running on :8080"));
|
||||
Reference in New Issue
Block a user