diff --git a/index.js b/index.js index 6672e259ef..5ae92f4e6a 100644 --- a/index.js +++ b/index.js @@ -1,7 +1,7 @@ const express = require('express') const app = express() app.all('/', (req, res) => { - console.log("Just got a request!") - res.send('Dev Branch!') + + res.send('............................Server is Started........................... ') }) app.listen(process.env.PORT || 3000) diff --git a/package.json b/package.json index 2e3f73d582..a0441c9a36 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,7 @@ "description": "", "main": "index.js", "scripts": { - "start": "node index.js", + "start": "nodemon index.js", "build": "echo 'running build'" }, "repository": { @@ -18,6 +18,7 @@ }, "homepage": "https://github.com/cyclic-software/starter-express-api#readme", "dependencies": { - "express": "^4.18.2" + "express": "^4.18.2", + "nodemon": "^3.1.0" } }