Skip to content

Sheng723/blog-post

Repository files navigation

Introduction

This project is a platform that allows users to create their own profile and share information about themselves with others. This website includes features like user registration and login, which allows users to securely access their accounts and create, read, update, and delete (CRUD) their own blog posts.

Once users have logged in, they can create new blog posts using a simple form interface. They can add a title, content, and other details about the post, such as tags or categories. The website also includes a feature that allows users to edit or delete their existing posts.

Once a user has created a blog post, it will be displayed on the show-blog page for other users to read and comment on. The show-blog page is a public-facing page that showcases all the blog posts created by users. This allows users to share their writing with others and receive feedback and comments on their work.

Overall, this project is a great way for individuals to showcase their creativity and share their personal stories and experiences with others. It provides a platform for self-expression and community-building, allowing users to connect with like-minded individuals who share similar interests and passions.

Usage

  1. docker run --rm
    -u "$(id -u):$(id -g)"
    -v "$(pwd):/var/www/html"
    -w /var/www/html
    laravelsail/php82-composer:latest
    composer install --ignore-platform-reqs
  2. ./vendor/bin/sail up
  3. ./vendor/bin/sail artisan migrate
  4. ./vendor/bin/sail npm run dev

Flow

  1. User click on the register button located at top left corner to register, then login
  2. User click on create blog button to create blog
  3. User click home located at top left corner to go to public-facing page
  4. User click show blogs button in middle of the page to show blogs
  5. User click the cards, then will show details of the blogs.

Screenshots of the projects:

Homepage:

Screenshot 2023-04-02 at 11 04 56 PM

Show Blog Page:

Screenshot 2023-04-02 at 10 59 11 PM

Show Blog Details Pop up Modal:

Screenshot 2023-04-02 at 11 05 34 PM

Admin Panel:

Screenshot 2023-04-02 at 10 59 57 PM

Create Blog Page:

Screenshot 2023-04-02 at 11 06 55 PM

Edit Blog Page:

Screenshot 2023-04-02 at 11 07 30 PM

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages