My Blog by Farman Ali - MERN Stack Developer

My Blog

My Blog Project By Farman Ali

My Blog, built by Farman Ali, a self-taught MERN stack developer from Bahawalpur, Pakistan, is a full-stack blogging platform. Powered by Node.js, Express.js, MongoDB, and EJS, it showcases my backend development skills with secure authentication, server-side rendering, and clean architecture. Users can create, manage, and engage with postsโ€”perfect for bloggers aiming for a performant, secure experience.

๐Ÿ“– Overview

My Blogis a full-stack blogging platform designed to let users create, manage, and interact with blog posts. Built with a focus on performance, security, and clean code, itโ€™s a testament to my ability to handle backend logic, authentication, and server-side rendering as a MERN stack developer.

While the live demo is coming soon (pending backend hosting, ุฅูู†ู’ ุดูŽุงุกูŽ ูฑู„ู„ูŽู‘ูฐู‡ู), the project is fully functional locallyโ€”ready for users to sign up, write posts, and engage with content through likes and comments.


โœจ Features

๐Ÿ” User Authentication

๐Ÿ“ Post Management

๐Ÿ’ฌ Engagement Tools

๐Ÿ‘ค User Profiles

๐Ÿ”’ Access Control

๐ŸŒ SEO-Friendly URLs


โš™๏ธ Tech Stack

๐Ÿš€ Setup & Installation

Clone the repository:git clone https://github.com/farmanali6349/my-blog.git

Navigate into the project:cd my-blog

Install dependencies:npm install

Configure environment variables:cp .env.example .envโ€”then add your MongoDB URI, JWT secrets, etc.

Start the server:npm run dev(uses nodemon for development)

๐Ÿ“‚ Folder Structure


๐Ÿ“‚ my-blog
โ”œโ”€โ”€ ๐Ÿ“ src
โ”‚   โ”œโ”€โ”€ ๐Ÿ“ controllers # Core business logic
โ”‚   โ”œโ”€โ”€ ๐Ÿ“ middlewares # JWT/auth utilities
โ”‚   โ”œโ”€โ”€ ๐Ÿ“ models      # MongoDB Schemas (User, Blog, etc.)
โ”‚   โ”œโ”€โ”€ ๐Ÿ“ routes      # Route definitions
โ”‚   โ””โ”€โ”€ ๐Ÿ“ views       # EJS templates for UI
โ”œโ”€โ”€ ๐Ÿ“ public          # Static files (CSS, JS, Images)
โ”œโ”€โ”€ .env.example       # Environment config template
โ”œโ”€โ”€ package.json       # Project metadata and dependencies
โ””โ”€โ”€ README.md          # Project documentation
        

๐Ÿ“ฆ Deployment

Live demo coming soonโ€”pending backend hosting setup.

๐Ÿ“ฌ Contact

Other
Projects

As aMERN stack developer, I built My Blogโ€”showcasing my skills in backend development and authentication.

Blogistan by Farman Ali

Blogistan

A full-stack blog platform built with React and Appwrite by Farman Ali.

Guess The Number by Farman Ali

Guess The Number

A fun number guessing game built with HTML, CSS, and JavaScript by Farman Ali.