Skip to content

Jyothishree2k5/Blog-Application

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 

Repository files navigation

MERN Stack Blog Application

A full-stack blog application built using the MERN (MongoDB, Express.js, React.js, Node.js) stack that allows users to create, read, update, and delete blog posts.

Features

  • User authentication (Register/Login)
  • Create and edit blog posts with rich text editor
  • Upload cover images for blog posts
  • Responsive design for all devices
  • JWT-based authentication
  • Secure password hashing
  • CRUD operations for blog posts

Tech Stack

Client:

  • React.js
  • CSS for styling
  • React Router for navigation
  • Date-fns for date formatting

Server:

  • Node.js
  • Express.js
  • MongoDB with Mongoose
  • JWT for authentication
  • Bcrypt for password hashing
  • Multer for file uploads

API Endpoints

Authentication

  • POST /register - Register new user
  • POST /login - Login user
  • POST /logout - Logout user

Posts

  • GET /post - Get all posts
  • GET /post/:id - Get single post
  • POST /post - Create new post
  • PUT /post - Update post
  • DELETE /post/:id - Delete post

Screenshots

Home page - Screenshot 2025-01-01 155359 Register Page - Screenshot 2025-01-01 155416 Login Page - Screenshot 2025-01-01 155408 Create Post Page- Screenshot 2025-01-01 155507 Page after login - Screenshot 2025-01-01 155458

Releases

No releases published

Packages

No packages published