From d32f8ec7e7d1cb46424631a3854b114d5d93e299 Mon Sep 17 00:00:00 2001 From: Dhrupad Date: Fri, 14 Oct 2022 01:06:13 +0530 Subject: [PATCH] Added a Blog Project using MERN Stack --- Blogs Website/app.js | 14 ++++++++++++++ Blogs Website/index.html | 0 Blogs Website/package.json | 16 ++++++++++++++++ 3 files changed, 30 insertions(+) create mode 100644 Blogs Website/app.js create mode 100644 Blogs Website/index.html create mode 100644 Blogs Website/package.json 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" + } +}