Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/muhammadzulhusni/blog-system
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.
https://github.com/muhammadzulhusni/blog-system
blog-system crud inprogress-develop laravel-framework tailwindcss
Last synced: about 1 month ago
JSON representation
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.
- Host: GitHub
- URL: https://github.com/muhammadzulhusni/blog-system
- Owner: MuhammadZulhusni
- Created: 2024-07-30T11:57:58.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2024-08-15T07:06:50.000Z (3 months ago)
- Last Synced: 2024-10-11T11:02:41.805Z (about 1 month ago)
- Topics: blog-system, crud, inprogress-develop, laravel-framework, tailwindcss
- Language: Blade
- Homepage:
- Size: 208 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Blog System
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.
## Features
- **CRUD Operations:** Create, read, update, and delete blog posts.
- **User Authentication:** Sign up and log in to manage posts.
- **Tailwind CSS Styling:** Modern and responsive design.## Installation
### Prerequisites
- PHP 8.0 or higher
- Composer
- Laravel Installer
- MySQL or another compatible database
- Node.js and npm### Steps
1. **Clone the Repository**
```bash
git clone https://github.com/MuhammadZulhusni/Blog-System.git
cd Blog-System
```2. **Install PHP Dependencies**
```bash
composer install
```3. **Set Up Environment File**
Copy the example environment file and adjust your settings.
```bash
cp .env.example .env
```4. **Generate Application Key**
```bash
php artisan key:generate
```5. **Configure Your Database**
Open the `.env` file and set the details as per your convenience.
Below is my database connection:```env
DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=8889
DB_DATABASE=Blog-System
DB_USERNAME=root
DB_PASSWORD=
```6. **Run Migrations and Seed Data**
Run the following command to migrate the database and seed it with initial data:
```bash
php artisan migrate:fresh --seed
```This command will:
- Drop all existing tables.
- Recreate the tables as per the migration files.
- Seed the database with initial data specified in the seeders.7. **Install Node.js Dependencies**
```bash
npm install
```8. **Compile Assets**
Compile your CSS and JavaScript assets:
```bash
npm run dev
```9. **Start the Development Server**
```bash
php artisan serve
```Your application will be accessible at `http://127.0.0.1:8000`.
## Usage
- **Register:** Sign up to create an account.
- **Login:** Access the dashboard to manage blog posts.
- **Manage Posts:** Use the interface to create, view, update, and delete blog posts.## Contributing
If you'd like to contribute, please follow these steps:
1. Fork the repository.
2. Create a feature branch (`git checkout -b feature/YourFeature`).
3. Commit your changes (`git commit -am 'Add new feature'`).
4. Push to the branch (`git push origin feature/YourFeature`).
5. Create a new Pull Request.