Dev Diaries
🚀 Overview This is a Dev Diaries application built from scratch to showcase foundational full-stack web development skills. It features a public-facing blog and a secure admin panel for managing posts. This project is a great demonstration of how to build a complete web application with a dynamic backend and a responsive frontend.
✨ Features Public Blog: Displays a list of all blog posts with summaries.
Admin Panel: A secure login system for an administrator.
CRUD Operations: The admin can Create, Read, Update, and Delete posts.
Post Categories: Posts can be categorized (e.g., Science, Technology, Programming, News) with a dynamic dropdown menu in the navbar.
Rich Text Editor: The admin panel uses TinyMCE for creating formatted blog posts.
Reusable Components: The application uses a central header.php and footer.php for consistent design and maintainable code.
Responsive UI: A modern and attractive design built with Tailwind CSS that works on all devices.
🛠️ Technologies Used Backend: PHP
Database: MySQL / MariaDB
Frontend: HTML5, Tailwind CSS, JavaScript
Libraries: TinyMCE (Rich Text Editor)
⚙️ Setup and Installation Follow these steps to get a local copy of the project up and running on your machine.
Prerequisites A local server environment (like XAMPP or WAMP) with PHP and MySQL/MariaDB.
A code editor (like VS Code or IntelliJ IDEA).
A web browser.
Steps Clone the repository:
git clone https://github.com/Pappu-Roy/Dev-Diaries.git
Move the project: Move the cloned folder into your local server's web directory (e.g., C:\xampp\htdocs).
Database Setup:
Open phpMyAdmin (http://localhost/phpmyadmin/).
Create a new database named simple_blog.
Import the provided SQL script from your project directory (you will have a simple_blog.sql file after running the project locally).
Configuration:
Open config.php and update the database credentials if they are different from the default XAMPP settings (root username and no password).
Access the application:
Open your web browser and go to http://localhost/your-project-folder-name/.
🤝 Contribution This project is a personal portfolio piece. While I am not actively looking for contributions, feel free to fork the repository and use it for your own learning purposes.
Pappu Roy | CSE SUST | Aspiring Software Engineer