diff --git a/README.md b/README.md index 01d91ab..ca5ecaa 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,40 @@ -Assalamu-Alaikum Everyone, +# News Site Project -I am Nirob Hasan And I'm a Web Developer by profession. With experience and expertise spanning around 7 years, in the Digital space. +This is a PHP-based news site project. -Good amount of experience in development of web applications using PHP, Frameworks, JavaScript Library’s, CMS, API’s, Reporting tools and Payment Gateways. Skilled in digital technology innovation's, brand building and all phases of the Web development lifecycle with an expert in translating business requirements into technical solutions and fanatical about quality, usability, security, and scalability. Dealing with and resolving problems and issues which arise. +## Description -Thank you. +This project is a simple news site developed using PHP. It allows users to view news articles, browse by category, search by name or description, view author post. -Youtube Link: https://youtube.com/nirobhasan +## Requirements + +- PHP 8.1.2 +- MySQL +- Web server (Apache, Nginx) + +## Installation + +1. Clone the repository to your local machine: + + ```bash + git clone "https://github.com/manchuriqbal/news_project_raw_file.git" + ``` + +2. Import the database: + + - Navigate to the `database` directory. + - [Download the `news_site.sql` file](https://raw.githubusercontent.com/manchuriqbal/news_project_raw_file/manchur/database/news_site.sql) from GitHub. + - Import the downloaded `news_site.sql` file into your MySQL/MariaDB database. + +3. Configure the database connection: + + - Open the `admin/config.php` file. + - Update the database connection details (hostname, username, password, database name) accordingly. + +## Usage + +1. Start your web server. + +2. Open a web browser and navigate to the project directory. + +3. You should see the homepage of the news site. diff --git a/admin/add-category.php b/admin/add-category.php index 7dc9055..728ab8f 100644 --- a/admin/add-category.php +++ b/admin/add-category.php @@ -1,4 +1,8 @@ - +
S.No. | @@ -18,55 +43,55 @@Delete | +||||||||
---|---|---|---|---|---|---|---|---|---|
1 | -Html | -5 | -- | - | |||||
2 | -Css | -15 | -- | - | |||||
3 | -Java | -8 | -- | - | |||||
4 | -Php | -11 | -- | - | |||||
5 | -Python | -13 | -- | - | |||||
6 | -Scss | -3 | -- | + | + | + | + | '> | +'> |