Skip to content

Commit ad6c0cb

Browse files
committed
Initiated basic testing express backend
0 parents  commit ad6c0cb

File tree

4 files changed

+791
-0
lines changed

4 files changed

+791
-0
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
node_modules/

index.js

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
const express = require('express');
2+
const PORT = 3000;
3+
const app = express();
4+
5+
app.use(express.json());
6+
7+
app.get('/', async (req, res) => {
8+
console.log("server given backshots");
9+
res.status(200).json({
10+
msg: "KYS"
11+
})
12+
});
13+
14+
app.listen(PORT);
15+

0 commit comments

Comments
 (0)