Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

Vexon – A Full-Stack Blog Platform

Vexon is a full-stack blog platform built with the MERN Stack, providing a seamless content publishing experience for both readers and authors. The platform enables secure user authentication, rich blog management, search and filtering, and a responsive user interface enhanced with modern animations and performance optimizations.


✨ Features

🔐 User Authentication

  • User registration and login with JWT authentication
  • Protected routes that redirect unauthenticated users
  • Password hashing for enhanced security
  • Password strength validation with visual feedback

✍️ Content Management

  • CRUD operations for blog posts
  • Rich text editing with media support
  • Category management with image uploads
  • Author attribution for blog posts
  • Responsive image handling with fallbacks

🔎 Search & Discovery

  • Advanced search functionality with filters
  • Sort by newest, oldest, or title
  • Filter by author/username
  • Category-based browsing
  • URL parameter support for sharing search results

🖼️ Media Management

  • Image upload functionality integrated using Multer
  • Cloud storage functionality integrated using Cloudinary
  • Efficient media handling for blog posts and categories

📱 Responsive & Interactive User Experience

  • Fully responsive layout (mobile, tablet, and desktop)
  • Intuitive navigation with loading states
  • Toast notifications for user feedback
  • Smooth animations using Framer Motion
  • Back button support for mobile navigation

🚀 Performance Optimizations

  • Skeleton loaders for content loading states
  • Lazy-loaded images for faster page loads
  • Minimum loading time to prevent UI flashes
  • Route-based scroll management for consistent user experience
  • Error recovery with retry mechanisms
  • API request timeout handling

🧰 Technology Stack

Frontend: React.js, JavaScript, React Router, Tailwind CSS, Axios, Framer Motion, GSAP, React Bits, React Toastify, Material UI, Swiper.js, React Stars

Backend: Node.js, Express.js, MongoDB (with Mongoose ODM), JWT, Multer, Cloudinary, RESTful API, CORS

Deployment & Development Tools: Vercel (Frontend), Render (Backend), ESLint


🚀 Installation

📋 Prerequisites

  • Node.js (v14 or higher)
  • MongoDB (local or MongoDB Atlas)
  • NPM or Yarn

🛠️ Setup Instructions

1. Clone the Repository

git clone https://github.com/prabinb50/Blog_Website_MERN.git
cd Blog_Website_MERN

2. Backend Setup

i. Create a backend folder and navigate into it:

cd backend
npm init -y
npm install express mongoose multer cloudinary cors dotenv jsonwebtoken bcrypt
"type": "module", add this in package.json
npm install --save-dev nodemon

ii. Create a .env file inside the backend/ folder with the following variables:

PORT = for example, 4000
MONGODB_URI = your_mongodb_connection_string
JWT_SECRET = your_jwt_secret
CLOUDINARY_CLOUD_NAME = your_cloudinary_cloud_name
CLOUDINARY_API_KEY = your_cloudinary_api_key
CLOUDINARY_API_SECRET = your_cloudinary_api_secret

3. Frontend Setup

i. Create a frontend folder and navigate into it:

cd frontend
npm create vite@latest

ii. Install and setup Tailwind CSS

iii. Install additional dependencies:

npm install axios react-router-dom framer-motion

▶️ Running the Application

🔁 Start the Backend Server

cd backend
npm run dev

🌐 Start the Frontend Development Server

cd frontend
npm start

🤝 Contributing

Contributions are welcome!

  1. Fork the repo
  2. Create your feature branch
    git checkout -b feature/YourFeature
  3. Commit your changes
    git commit -m "Add feature"
  4. Push to the branch
    git push origin feature/YourFeature
  5. Open a Pull Request

📄 License

This project is open source and available for learning purposes.

About

A full-stack blog platform built with the MERN Stack, providing a seamless content publishing experience for both readers and authors. The platform enables secure user authentication, rich blog management, search and filtering, and a responsive user interface enhanced with modern animations and performance optimizations.

Topics

Resources

Stars

Watchers

Forks

Contributors

Languages