initial commit
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
import express, { Application, Request, Response } from "express";
|
||||
|
||||
const PORT = process.env.PORT || 3000;
|
||||
|
||||
const app: Application = express();
|
||||
|
||||
app.get("/", (req: Request, res: Response) => {
|
||||
res.send("Hello, world!");
|
||||
});
|
||||
|
||||
app.listen(PORT, () =>
|
||||
console.log("Server listening on http://localhost:" + PORT)
|
||||
);
|
||||
Reference in New Issue
Block a user