A full-featured Blog Application built with Laravel, supporting two roles: Admin and User.
The project includes authentication, blog management, categories, favorites, and an admin dashboard with advanced CRUD and restore/delete functionalities.
- View all blog posts
- View single blog details
- Add blogs to favorites
- Authentication required (Login/Register)
- Full CRUD operations for:
- Blogs
- Categories
- Soft delete & restore functionality
- Permanent delete option
- Admin Dashboard showing:
- Total blogs
- Total categories
- Total users
- Manage all content from a centralized dashboard
- Laravel 12
- MySQL
- Node.js & npm
- Blade Templates
- Bootstrap and CSS
- Laravel Breeze for authentication
git clone https://github.com/Ebla-a/Blog.git
- composer install
- npm install ###3 . Set up the environment variables Copy the .env.example file to .env and update the database credentials and other necessary configuration
php artisan key:generate
php artisan migrate --seed
npm run dev
php artisan serve The application will be available at: http://localhost:8000
This project includes factories and seeders to generate sample data for testing
To seed the database run:
php artisan migrate --seed
The admin dashboard provides an overview of the system:
- Total Blogs
- Total Categories
- Total Users
Quick access to CRUD operations: Manage soft-deleted items (restore or permanently delete)







- add comment (login required)
- User can delete his own comment
- admin can delete any comment