project setup
This commit is contained in:
13
backend/index.js
Normal file
13
backend/index.js
Normal file
@@ -0,0 +1,13 @@
|
||||
import e from "express";
|
||||
|
||||
const app = e();
|
||||
|
||||
const port = 3000;
|
||||
|
||||
app.get('/', (req, res) => {
|
||||
res.send("Hello World");
|
||||
});
|
||||
|
||||
app.listen(port, () => {
|
||||
console.log(`Listening on ${port}`);
|
||||
});
|
||||
Reference in New Issue
Block a user