Skip to content

AK08/Snap-Blog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

Snap-Blogs

About

SnapBlog is a Web-based blogging platform where users can create, publish, and manage their blog posts. The platform allows users to register, log in, create blog posts, view and edit their posts, and display the published posts to the public.

Table of Contents

Features

  1. User Registration and Authentication

    • Users can register with the platform using their email and password.
    • Secure authentication mechanism for registered users.
  2. Create and Manage Blog Posts

    • Users can create new blog posts with a title, content (max 300 words), and optional tags.
    • View and edit their own posts.
    • Feature to delete posts.
  3. Public Blog Display

    • Visitors can view all published blog posts on the platform.
    • Search functionality based on tags or keywords.
  4. User Interface and Design

    • User-friendly and responsive interface.
    • Visually appealing design adhering to the requirements.
  5. Security

    • Implementation of necessary security measures to protect user data.

Tech Stack

Getting Started

  1. Clone the repository:
  • Make sure to have installed node and npm
    git clone https://github.com/AK08/Snap-Blog
    cd blogs
    
  1. Install Dependencies
    #Instal Client
    cd client
    npm install
    
    #Install Server
    cd ../server
    npm install
    
  2. Add in .env for client
    VITE_SERVER=http://localhost:3000
    
  3. Add in .env for server
    DATABASE_HOST=[Your Host]
    DATABASE_USER=[Your MySQL Username]
    DATABASE_PASS=[Your MYSQL Pass]
    DATABASE_NAME=blogs  #databasename
    
  4. Create a database
    CREATE Database blogs
    
  5. Run client and server
  • client
    cd client
    npm run dev
    
  • server
    cd ../server
    npm run dev
    

Usage

  • Copy & paste the below url
   http://localhost:5173/
   

About

SnapBlog is a Web-based blogging platform where users can create, publish, and manage their blog posts. The platform allows users to register, log in, create blog posts, view and edit their posts, and display the published posts to the public.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors