diff --git a/Blogs Website/app.js b/Blogs Website/app.js new file mode 100644 index 00000000..e49df55e --- /dev/null +++ b/Blogs Website/app.js @@ -0,0 +1,14 @@ +const express = require('express'); + +const bodyParser = require('body-parser'); + +const request = require('request'); + +const app = express(); + +app.get + +app.listen(3000, ()=> +{ + console.log("Server is running on port 3000"); +}) \ No newline at end of file diff --git a/Blogs Website/index.html b/Blogs Website/index.html new file mode 100644 index 00000000..e69de29b diff --git a/Blogs Website/package.json b/Blogs Website/package.json new file mode 100644 index 00000000..26135acb --- /dev/null +++ b/Blogs Website/package.json @@ -0,0 +1,16 @@ +{ + "name": "blog-website", + "version": "1.0.0", + "description": "", + "main": "app.js", + "scripts": { + "test": "echo \"Error: no test specified\" && exit 1" + }, + "author": "Dhrupad Sah", + "license": "ISC", + "dependencies": { + "body-parser": "^1.20.0", + "express": "^4.18.1", + "request": "^2.88.2" + } +}