https://github.com/krisnaajiep/php-blog-system
Simple Blog System using MVC PHP, MySQL, and Bootstrap 5
https://github.com/krisnaajiep/php-blog-system
blog blog-site blog-system bootstrap bootstrap5 model-view-controller mvc mvc-architecture mvc-php mvc-php-web-application mysql mysql-database native-php pdo pdo-mysql pdo-php php prepared-statements simple-project
Last synced: about 1 month ago
JSON representation
Simple Blog System using MVC PHP, MySQL, and Bootstrap 5
- Host: GitHub
- URL: https://github.com/krisnaajiep/php-blog-system
- Owner: krisnaajiep
- Created: 2024-09-12T05:06:37.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2025-03-06T10:51:42.000Z (about 2 months ago)
- Last Synced: 2025-03-06T11:29:28.609Z (about 2 months ago)
- Topics: blog, blog-site, blog-system, bootstrap, bootstrap5, model-view-controller, mvc, mvc-architecture, mvc-php, mvc-php-web-application, mysql, mysql-database, native-php, pdo, pdo-mysql, pdo-php, php, prepared-statements, simple-project
- Language: PHP
- Homepage:
- Size: 64.5 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Blog System with User Authentication and Management
This is a PHP-based Blog System built with the MVC architecture and MySQL for data storage. The system allows users to create accounts, authenticate, manage their profiles, and post blog content. Admin users have additional control over user management. Key features include account activation, password recovery, and a user-friendly post management system.
## Screenshoots
### Main Page

### Login Page

### Dashboard Page

## Features
- **User Authentication**: Secure login and registration with password hashing.
- **Account Activation**: Email-based account verification.
- **Password Recovery**: Reset forgotten passwords via email.
- **User Management**: Admin can manage user accounts; users can manage their own profiles.
- **Blog Post Management**: Create, edit, and delete blog posts.
- **Categories**: Organize posts with categories.
- **Search**: Search posts by keywords and categories.
- **Pagination**: Navigate through posts.
- **User Roles**: Different roles with specific permissions.## Technologies Used
- PHP (for backend development)
- MySQL (for database management)
- HTML/CSS (for frontend design)
- JavaScript (for client-side interactions)
- Bootstrap 5 (for CSS framework)## Installation
1. Clone the repository:
```bash
git clone https://github.com/krisnaajiep/php-blog-system.git
```2. Navigate to the project directory:
```bash
cd php-blog-system
```3. Move the project files to the XAMPP `htdocs` directory (usually located in `C:\xampp\htdocs` on Windows or `/Applications/XAMPP/htdocs` on macOS):
```bash
mv php-blog-system /path-to-xampp/htdocs/
```4. Create new database
```bash
mysql -u root -p -e "CREATE DATABASE simple_project_blog_system;"
```5. Import `simple_project_blog_system.sql` file
```bash
mysql -u root -p simple_project_blog_system < config/simple_project_blog_system.sql
```6. Configure the database, base url, and base directory settings in `config/config.php`.
7. Start XAMPP Control Panel and launch the **Apache** and **MySQL** services.
8. Access the application at `http://localhost/php-blog-system` (adjust the URL if your project is in a subfolder within `htdocs`).
## Contact
If you have any suggestions, feel free to reach out:
- Email: [[email protected]](mailto:[email protected])