Laravel Blogging Application Design Pattern

Overview

The Laravel Blogging Application facilitates content creation and publication. It includes features for both the frontend and admin side. This design pattern outlines the key steps and components for managing the publication workflow.

video demo - https://youtu.be/DQHnwqQv9Jk

Frontend Features

  1. Display Categories in Navbar

    • Description: The application displays categories in the website's navigation bar.
    • Implementation: Categories are fetched from the database and dynamically rendered in the frontend.
  2. Advertising Area on Website

    • Description: The website includes an advertising area.
    • Implementation: The advertising content is managed and displayed at designated sections of the website.
  3. Display Latest Posts on Home Page

    • Description: The homepage showcases the ten latest posts.
    • Implementation: Latest posts are queried from the database and presented on the homepage.
  4. Display Categories in Carousel/Slider

    • Description: Categories are presented in a carousel/slider.
    • Implementation: Categories are fetched and displayed using a carousel or slider component.
  5. View Post

    • Description: Users can view individual posts.
    • Implementation: Clicking on a post's link loads the post's content, comments, and displays advertising content on the right.
  6. Add Comment to Post

    • Description: Users can leave comments on posts.
    • Implementation: A comment form is provided below each post, and user-generated comments are stored in the database.
  7. SEO-Friendly Website

    • Description: The website is optimized for search engines.
    • Implementation: SEO best practices are followed, including metadata, clean URLs, and responsive design.

Admin Side Features

  1. Dashboard Statistics

    • Description: The admin dashboard provides statistics on total categories, posts, users, and admins.
    • Implementation: Data is queried from the database and displayed on the admin dashboard.
  2. Categories CRUD with Show and Hide Option

    • Description: Admins can perform CRUD operations on categories, including showing or hiding them.
    • Implementation: Categories are managed in the database, and the visibility option is stored.
  3. Show and Hide Categories in Navbar

    • Description: Admins can control whether categories are displayed in the website's navigation bar.
    • Implementation: Visibility settings are applied to categories in the frontend.
  4. Posts CRUD with Show and Hide Option

    • Description: Admins can perform CRUD operations on posts, including showing or hiding them.
    • Implementation: Posts are managed in the database, and the visibility option is stored.
  5. User Management

    • Description: Admins can view registered users, access single user profiles, edit user details, and change user roles.
    • Implementation: User data is fetched from the database, and admins have access to user management features.
  6. Middleware Authentication Security

    • Description: Middleware authentication is implemented to enhance security.
    • Implementation: Middleware is applied to routes to verify user authentication and authorization.

Technologies Utilized

  • Laravel Framework: Used for web application development.
  • MySQL Database: Stores application data.
  • XAMPP: Provides a local development environment.
  • Git and GitHub: Used for version control and collaboration.
  • SEO Tools: Applied for optimizing the website for search engines.
  • Git Bash: A command-line tool
  • HTML, CSS, Bootstrap, JavaScript, and jQuery: Utilized for frontend development.