Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mah-shamim/simple-blog-platform
A basic blogging platform where users can post, edit, and delete articles. Built using PHP, HTML, jQuery, AJAX, JSON, Bootstrap, CSS, and MySQL.
https://github.com/mah-shamim/simple-blog-platform
ajax beginner-projects blog bootstrap code-examples css hands-on-projects html jquery json learning-resources mysql open-source php php-tutorials web-application web-development
Last synced: 17 days ago
JSON representation
A basic blogging platform where users can post, edit, and delete articles. Built using PHP, HTML, jQuery, AJAX, JSON, Bootstrap, CSS, and MySQL.
- Host: GitHub
- URL: https://github.com/mah-shamim/simple-blog-platform
- Owner: mah-shamim
- License: mit
- Created: 2024-08-02T17:28:39.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2024-08-02T18:58:11.000Z (3 months ago)
- Last Synced: 2024-10-10T21:17:33.127Z (about 1 month ago)
- Topics: ajax, beginner-projects, blog, bootstrap, code-examples, css, hands-on-projects, html, jquery, json, learning-resources, mysql, open-source, php, php-tutorials, web-application, web-development
- Language: HTML
- Homepage:
- Size: 102 KB
- Stars: 6
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Simple Blog Platform
A basic blogging platform where users can post, edit, and delete articles. Built using PHP, HTML, jQuery, AJAX, JSON, Bootstrap, CSS, and MySQL.**Topics:** `php`, `mysql`, `blog`, `ajax`, `bootstrap`, `jquery`, `css`
![simple-weather-app](./assets/images/simple-blog-platform.png)
### Install Process
1. **Clone the Repository:**
```sh
git clone https://github.com/yourusername/simple-blog-platform.git
cd simple-blog-platform
```2. **Set Up the Database:**
- Create a MySQL database named `blog_db`.
Import the provided SQL file (`db/database.sql`) to set up the necessary tables.
- Import the provided SQL file to set up the necessary tables.
```sh
mysql -u yourusername -p blog_db < db/database.sql
```3. **Configure Database Connection:**
- Copy `config.sample.php` to `config.php`:
```sh
cp config.sample.php config.php
```
- Open `config.php` and update the database configuration details.4. **Run the application:**
- Serve the application using your local web server or PHP's built-in server:
```sh
php -S localhost:8000
```5. **Access the application:**
- Open your browser and navigate to `http://localhost:8000`.### File Structure
Here’s a basic file structure for your simple-blog-platform application:
```
simple-blog-platform/
│
├── config.sample.php
├── index.html
├── db/
│ └── database.sql
├── src/
│ ├── get-post.php
│ └── post-handler.php
├── include/
│ ├── config.sample.php
│ └── db.php
├── assets/
│ ├── css/
│ │ └── style.css
│ ├── js/
│ │ └── script.js
│ └── images/
├── README.md
└── .gitignore
```