Simple personal blog web application built with HTML, CSS, and PHP.
PHP Personal Blog is a simple web application that used to write and publish articles. This project is designed to explore and practice basic authentication, working with filesystem, HTML, CSS and server in PHP.
- HTML
- CSS
- PHP - version 8.3.6
- View all articles: Display a list of all existing articles with their title and publishing date.
- Admin login: A basic authentication for the admin section to be able to manage articles.
- Add new article: Create a new article with a title, publishing date, and content.
- View an article: Display an article with theri title, publishing date, and content.
- Update an article: Modify an existing article.
- Delete an aarticle: Remove an existing article.
To run this CLI tool, you’ll need:
- PHP: Version 8.3 or newer
How to install:
-
Clone the repository
git clone https://github.com/krisnaajiep/php-personal-blog.git
-
Change the current working directory
cd path/php-personal-blog
-
Run the PHP Bult-in server
php -S localhost:8000
-
Access the URL
http://localhost:8000
Username: admin
Password: password
-
Select
+Add
to add new article. -
Fill all input in the add article form and select
Publish
button. -
Select an article title in dashboard to view the content.
-
Select
Go back
for return to the previous page. -
Select
Edit
to update an article. -
Fill all input in the edit article form and select
Update
button. -
Select
Delete
to delete an article.
Project is: complete.
This project was inspired by roadmap.sh.