rajanmandanka07 / My-Blog

MyBlog is a feature-rich web application that facilitates the creation, management, and sharing of blog posts. My Blog allows users to easily sign up and log in, ensuring a secure and personalized experience. Once authenticated, users can create, edit, and delete their blog posts, enabling them to maintain their content with ease.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

MyBlog App

MyBlog is a full-stack MERN (MongoDB, Express, React, Node.js) web application that allows users to create, edit, and delete blog posts. Users can also view blogs by category and contact the site owners through the contact form. This project uses JWT (JSON Web Tokens) for authentication.

Table of Contents

Features

  • User authentication (signup, login, logout)
  • Create, edit, and delete blog posts
  • View blogs by category
  • Contact us

Technologies Used

  • Frontend: React, Bootstrap
  • Backend: Node.js, Express
  • Database: MongoDB
  • Authentication: JSON Web Tokens (JWT)

Installation

  1. Clone the repository:

    git clone https://github.com/rajanmandanka07/My-Blog.git
  2. Install dependencies:

    cd myblog
    npm install
  3. Create a .env file in the root directory and add the following environment variables:

    PORT=3000
    MONGODB_URI=your_mongodb_uri
    JWT_SECRET=your_jwt_secret
  4. Start the development server:

    npm start
  5. Visit http://localhost:3000 in your browser to view the app.

Usage

  • Register a new account or login with existing credentials.
  • Create a new blog post by clicking on the "New Post" button.
  • Edit or delete existing blog posts.
  • View blogs by category using the navigation menu.
  • Use the contact detail to contact to the site owners.

Screenshots

Screenshot 2024-03-25 212155

Screenshot 2024-03-25 212209

Contributing

Contributions are welcome! Please fork the repository and submit a pull request.

About

MyBlog is a feature-rich web application that facilitates the creation, management, and sharing of blog posts. My Blog allows users to easily sign up and log in, ensuring a secure and personalized experience. Once authenticated, users can create, edit, and delete their blog posts, enabling them to maintain their content with ease.


Languages

Language:JavaScript 93.0%Language:HTML 4.5%Language:CSS 2.5%