This project is a personal blog application designed to manage blog posts, user comments, and user details securely. Built with JavaScript, PHP, MySQL, and HTML/CSS, the application features user authentication to ensure that only authorized individuals can access certain functionalities. Users can register and log in, with their passwords securely hashed for protection.
The blog management system allows users to create, edit, and delete blog posts easily. Additionally, a comment system is integrated, enabling users to post comments on blog entries, fostering engagement and interaction within the community. Different user roles are implemented to provide varying experiences; for example, administrators have additional privileges to manage content and users, while regular users can participate by sharing their thoughts on blog posts.
Dynamic content handling is achieved through a MySQL database, which efficiently manages data retrieval and storage. This setup ensures that user details, blog content, and comments are organized and accessible. The front-end is crafted using HTML and CSS for a responsive design, while JavaScript enhances user experience through interactive elements and real-time validation.
The development of the blog began with defining the core functionalities and focusing on creating a user-friendly interface that allows for easy navigation and interaction with content. PHP powers the backend, managing server-side logic and interacting with the MySQL database to handle user data and blog posts.
To host the MySQL database locally, I used XAMPP, a free and open-source cross-platform web server solution stack package. XAMPP provides an easy-to-use control panel to manage Apache, MySQL, and other services. By hosting the MySQL database on XAMPP, I was able to develop and test the application locally before deploying it to a production environment.
This project significantly enhanced my understanding of web development, particularly in creating full-stack applications. I gained valuable insights into the importance of data security and user authentication, as well as best practices for managing relational databases and implementing role-based access.
The Github Repository can be found here: Personal Blog Project.