This commit is contained in:
2024-07-27 18:05:00 +05:30
parent 82720deb5c
commit 36678c036a
11 changed files with 3241 additions and 0 deletions

13
api/index.js Normal file
View File

@@ -0,0 +1,13 @@
const express = require('express');
const app = express();
const port = process.env.PORT || 3000;
app.get('/ping', (req,res) => {
res.send("pong!");
})
app.get('/hello', (req,res) => {
res.send("hello!");
})
app.listen(port, () => {console.log(`listening on ${port}`)})