A personal blog platform built with Node.js + JavaScript + CSS/HTML.
This project is a blogging system (frontend + backend) composed of:
- client/ – The front-end code (HTML, CSS, JavaScript)
- api/ – The backend (Node.js)
- Purpose: Share blog content, possibly with CRUD operations, etc.
-
Clean client UI for reading/creating blog posts
-
-
Backend API to support blog data operations
-
Modular folder structure (client + api) .
- blog/
├── api/ # Node.js backend code
├── client/ # Frontend UI code
├── node_modules/ # Installed dependencies
├── package-lock.json
└── package.json
-
Uses standard web technologies (JS, CSS, HTML) + Node.js environment.
-
Uses JWT authentication.
-
Good base for extending — e.g., user authentication, comments, styling themes.
-
Allows to edit the already created blog (only for the author) and also show the last updated time for a blog
-
-
-
Stores content and cover images in MongoDB.
Although its only a minimalist design, but still provides smooth UI and easy to use.
- Node.js (v14+ recommended)
- npm or yarn
- (Optional) A database if you extend it (e.g., MongoDB, PostgreSQL)
# Clone the repo
git clone https://github.com/MadhurJain06/blog.git
cd blog
# Install backend dependencies and to run (backend connect)
cd api
npm install
npx nodemon server.js
# Install frontend dependencies (if any) and to run
cd ../client
npm install
npm run dev