DARPAN is a dynamic and user-friendly news publishing system built using PHP, MySQL, HTML/CSS, and Bootstrap. This project allows admins to manage categories, users, and news posts through a secure admin dashboard, while users can browse categorized news, search content, and read full articles.
- About the Project
- Objectives
- Features
- Tech Stack
- System Architecture
- Installation Guide
- Database Structure
- Screenshots
- Future Scope
- Author
Darpan is a modern web-based news platform designed to deliver timely, accurate, and categorized news updates to users. It provides an intuitive browsing experience for readers and a robust management system for administrators. The system is developed following Agile methodology, ensuring scalability, usability, and flexibility.
The primary goals of this website include:
- Deliver accurate and timely news updates
- Offer a clean, user-friendly interface
- Ensure credibility and accuracy through structured data handling
- Support multimedia content (images, descriptions, categories)
- Facilitate easy content management via the admin panel
- Enable user & category management for admins
- Maintain responsive design for all devices
-
Admin authentication
-
Add / Edit / Delete:
- News posts
- Categories
- Users (Editors)
-
Manage website settings (logo, footer text)
-
Pagination for posts, categories, and users
-
Image upload for posts and logo
- View recent news
- Browse by category
- Browse news by specific author
- Read full articles
- Responsive UI
- Real-time updates
- Auto-generated navigation menu from categories
- HTML
- CSS
- Bootstrap
- PHP
- MySQL
- Git
- GitHub
- VS Code
- 4GB+ RAM, i3 processor or higher
Follow these steps to run the project locally:
git clone https://github.com/your-username/darpan-news-website.gitPlace the folder inside:
C:/xampp/htdocs/
- Open phpMyAdmin
- Create a new database:
news-site
- Import the SQL file: news-site.sql
<?php
$hostname = "http://localhost/news-site";
$conn = mysqli_connect("localhost","root","","news-site")
or die("Connection failed : " . mysqli_connect_error());
?>Open browser:
User site:
http://localhost/news-site
Admin login:
http://localhost/news-site/admin
- Add user comments on posts
- Add newsletter/email subscription
- Add video news support
- Move to MVC Framework (Laravel / CodeIgniter)
- Add dark/light mode
- Add trending news algorithm
Raj Amarjeet Chauhan