Skip to content

This is a News Blog project built with Laravel 8. It allows users to read, create, edit, and delete posts, as well as add and remove tags to posts. Users can also leave comments on posts. The project includes authentication, with users able to register, log in, and log out.

Notifications You must be signed in to change notification settings

gursimar03/PHP_Blog

Repository files navigation

Laravel 8 News Blog

This is a News Blog project built with Laravel 8. It allows users to read, create, edit, and delete posts, as well as add and remove tags to posts. Users can also leave comments on posts. The project includes authentication, with users able to register, log in, and log out.

Team Members

Gursimar Singh Ply (D00251867)
Lee Ze Jee

Technologies used

Laravel 8 Laravel logo
MySQL MySQL logo
Tailwind CSS Tailwind CSS logo
Flowbite Flowbite logo

Requirements

• PHP 7.3 or higher
• Node 12.13.0 or higher

Description

This is a News Blog project built with Laravel 8, MySQL, Tailwind CSS, and Flowbite. It allows two types of users: admins and regular users. Admins have the ability to create, read, update, and delete posts, as well as manage tags and comments. Regular users can read and comment on posts, but cannot create or edit them.

Sample Images

Home Page

Sample Image 1

Post View

Sample Image 2

Nav Bar

Sample Image 3

Usage

Setting up your development environment on your local machine:

git clone [email protected]:gursimar03/PHP_Blog.git
cd PHP_Blog
cp .env.example .env
composer install
php artisan key:generate
php artisan cache:clear && php artisan config:clear

Before starting

Create a database

mysql
create database laravelblog;
exit;

Setup your database credentials in the .env file

DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=laravelblog
DB_USERNAME={USERNAME}
DB_PASSWORD={PASSWORD}

Migrate the tables and populate it

php artisan migrate
php artisan db:seed

Everything Should be ready to go. Use the command below to start the application

php artisan serve

About

This is a News Blog project built with Laravel 8. It allows users to read, create, edit, and delete posts, as well as add and remove tags to posts. Users can also leave comments on posts. The project includes authentication, with users able to register, log in, and log out.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published