This project is a Laravel-based web application that provides a news platform. It includes features such as article management, user authentication, and more.
- Article Management
- User Authentication
- Pagination
- Sorting and Filtering
- PHP >= 7.3
- Composer
- Node.js & npm
-
Clone the repository:
git clone https://github.com/your-username/your-repo.git cd your-repo
-
Install dependencies:
composer install npm install
-
Copy the
.env.example
file to.env
and configure your environment variables:cp .env.example .env
-
Generate an application key:
php artisan key:generate
-
Run migrations:
php artisan migrate
-
Seed the database (optional):
php artisan db:seed
-
Build the front-end assets:
npm run dev
-
Start the local development server:
php artisan serve
-
Visit
http://localhost:8000
in your browser.
To run the unit tests, use the following command:
php artisan test