This is a feature-rich news portal built with Laravel that includes:
- Role-based user access (Admin, Editor, Author, Reader)
- Dynamic news management
- Category-based news organization
- Modern UI with responsive design
User Management
- Roles: Admin, Editor, Author, Reader
- Registration & Authentication
- Profile Management
- Password Reset
News Management
- Create, Read, Update, Delete news articles
- Rich text editor for content creation
- News categorization
- Featured news section
- News scheduling (publish now or later)
Categories
- Dynamic category management
- Category-specific news listing
- Category hierarchy support
Additional Features
- Comments system
- News search functionality
- Newsletter subscription
- Social media sharing
- Related news suggestions
Prerequisites
- PHP 8.0 or higher
- Composer
- MySQL
Clone the repository:
git clone https://github.com/SushantAdh07/newsportal.git
cd news-portal
Install dependencies:
composer install
npm install
Create and configure .env file:
cp .env.example .env
Generate application key:
php artisan key:generate
Run migrations and seeders:
php artisan migrate --seed
Compile frontend assets:
npm run dev
# or for production
npm run build
Start the development server:
php artisan serve
