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.
Gursimar Singh Ply (D00251867)
Lee Ze Jee
Laravel 8
MySQL
Tailwind CSS
Flowbite
• PHP 7.3 or higher
• Node 12.13.0 or higher
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.
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
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