Skip to content

Commit

Permalink
feat: setup sample server
Browse files Browse the repository at this point in the history
  • Loading branch information
montasim committed Jun 27, 2024
1 parent 587c738 commit d5e5887
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,9 @@
"book store management system"
],
"dependencies": {

"express": "^4.19.2"
},
"devDependencies": {

"nodemon": "^3.1.4"
}
}
11 changes: 11 additions & 0 deletions server.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
const express = require('express')
const app = express()
const port = 5000

app.get('/', (req, res) => {
res.send('Hello World!')
})

app.listen(port, () => {
console.log(`Example app listening on port ${port}`)
})

0 comments on commit d5e5887

Please # to comment.