Blog System is a web application built with Laravel, designed for managing and publishing blog posts. The system includes full CRUD (Create, Read, Update, Delete) capabilities, allowing users to create, view, edit, and delete blog posts.
Welcome to the Blog System! This web application, built with the Laravel framework, is designed to provide an intuitive and robust platform for managing and publishing blog posts. Whether you’re a seasoned blogger or just starting out, this system offers a seamless experience with its user-friendly interface and powerful features.
Clone the Repository
git clone https://github.com/MuhammadZulhusni/Blog-System.git
cd Blog-System
Install PHP Dependencies
composer install
Set Up Environment File
Copy the example environment file and adjust your settings.
cp .env.example .env
Generate Application Key
php artisan key:generate
Configure Your Database
Open the .env
file and set the details as per your convenience.
Below is my database connection:
DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=8889
DB_DATABASE=Blog-System
DB_USERNAME=root
DB_PASSWORD=
Run Migrations and Seed Data
Run the following command to migrate the database and seed it with initial data:
php artisan migrate:fresh --seed
This command will:
Install Node.js Dependencies
npm install
Compile Assets
Compile your CSS and JavaScript assets:
npm run dev
Start the Development Server
php artisan serve
Your application will be accessible at http://127.0.0.1:8000
.
If you'd like to contribute, please follow these steps:
git checkout -b feature/YourFeature
).git commit -am 'Add new feature'
).git push origin feature/YourFeature
).