Skip to content

itsdevrajchauhan/news-site

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

4 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation


πŸ“’ DARPAN – News Website

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.


πŸ“Œ Table of Contents

  1. About the Project
  2. Objectives
  3. Features
  4. Tech Stack
  5. System Architecture
  6. Installation Guide
  7. Database Structure
  8. Screenshots
  9. Future Scope
  10. Author

πŸ“ About the Project

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.


🎯 Objectives

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

⭐ Features

πŸ‘€ Admin Panel

  • 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


🌐 User Side (Client)

  • 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

πŸ›  Tech Stack

Frontend

  • HTML
  • CSS
  • Bootstrap

Backend

  • PHP
  • MySQL

Version Control

  • Git
  • GitHub

Software Requirements

  • VS Code
  • 4GB+ RAM, i3 processor or higher

βš™οΈ Installation Guide

Follow these steps to run the project locally:

1️⃣ Clone the Repository

git clone https://github.com/your-username/darpan-news-website.git

2️⃣ Move Project to Localhost

Place the folder inside:

C:/xampp/htdocs/

3️⃣ Configure the Database

  • Open phpMyAdmin
  • Create a new database:
news-site
  • Import the SQL file: news-site.sql

4️⃣ Configure config.php

<?php
$hostname = "http://localhost/news-site";
$conn = mysqli_connect("localhost","root","","news-site")
or die("Connection failed : " . mysqli_connect_error());
?>

5️⃣ Run the Project

Open browser:

User site:

http://localhost/news-site

Admin login:

http://localhost/news-site/admin

πŸ“Έ Screenshots

πŸ“° News Website View

πŸ” Admin Panel

βž• Add User (Editor)

βš™οΈ Website Settings

πŸ“ Adding New Post (News)

πŸ”Ž Search Bar

βž• Add News Category

πŸ“– Read More


πŸš€ Future Scope

  • 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

πŸ‘¨β€πŸ’» Author

Raj Amarjeet Chauhan


About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors