https://github.com/aliyara290/dev_blog_platform
a PHP-based blogging platform built using Object-Oriented Programming (OOP) principles and the Model-View-Controller (MVC) design pattern.
https://github.com/aliyara290/dev_blog_platform
blog mvc oop php
Last synced: 11 months ago
JSON representation
a PHP-based blogging platform built using Object-Oriented Programming (OOP) principles and the Model-View-Controller (MVC) design pattern.
- Host: GitHub
- URL: https://github.com/aliyara290/dev_blog_platform
- Owner: aliyara290
- Created: 2024-12-31T09:11:00.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-01-09T23:06:07.000Z (over 1 year ago)
- Last Synced: 2025-02-28T07:15:19.575Z (over 1 year ago)
- Topics: blog, mvc, oop, php
- Language: PHP
- Homepage:
- Size: 15.4 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
Awesome Lists containing this project
README
# Dev_Blog_Platform
Welcome to **Dev_Blog_Platform**, a PHP-based blogging platform built using Object-Oriented Programming (OOP) principles and the Model-View-Controller (MVC) design pattern. This platform provides functionality for user authentication (sign in, sign up, and session management) and allows users to create and manage blog posts.
## Table of Contents
- [Features](#features)
- [Technologies Used](#technologies-used)
- [Installation](#installation)
- [Usage](#usage)
- [Project Structure](#project-structure)
- [Contributing](#contributing)
- [License](#license)
---
## Features
- **User Authentication**
- Sign up for a new account.
- Sign in with existing credentials.
- Session management for secure user interaction.
- **Blog Management**
- Create, read, update, and delete blog posts.
- **MVC Architecture**
- Clear separation of concerns for easier maintenance and scalability.
---
## Technologies Used
- **Backend**: PHP (Object-Oriented Programming)
- **Design Pattern**: Model-View-Controller (MVC)
- **Database**: MySQL
- **Front-end**: HTML, CSS, JavaScript (optional frameworks like Bootstrap for styling)
---
## Installation
1. **Clone the Repository**
```bash
git clone https://github.com/aliyara290/DEV_Blog_Platform.git
cd DEV_Blog_Platform
```
2. **Set Up the Database**
- Import the SQL file (`database.sql` or similar) located in the project directory to your MySQL server.
- Update the database configuration in the `config` file (e.g., `/config/database.php`) with your MySQL credentials.
3. **Configure Environment**
- Ensure you have a local server running PHP (e.g., XAMPP, WAMP, or LAMP).
- Place the project folder in the server's root directory (e.g., `htdocs` for XAMPP).
4. **Run the Application**
- Open your web browser and navigate to:
```
http://localhost/DEV_Blog_Platform
```
---
## Usage
1. **Sign Up**
- Create an account to access the blogging platform.
2. **Sign In**
- Log in with your credentials to start managing your blog posts.
3. **Manage Blog Posts**
- Create new blog posts.
- Edit or delete existing posts.
---
## Contributing
Contributions are welcome! If you find any issues or want to add new features, feel free to:
1. Fork the repository.
2. Create a new branch for your feature or bug fix:
```bash
git checkout -b feature-name
```
3. Commit your changes and push to your branch:
```bash
git push origin feature-name
```
4. Open a pull request on GitHub.
---
## License
This project is open-source and available under the [MIT License](LICENSE).
---
## Contact
If you have any questions or suggestions, feel free to reach out at:
- **GitHub**: [Ali](https://github.com/aliyara290)
Happy coding!