Skip to content

AhmedSamir99/Article_Project

Repository files navigation

# Introduction .bloge is a website built using PHP that uses role-based access control to provide different levels of access . The site has three main roles:admins ,editors and users, each with different permissions for CRUD on Articles,groups and users. The site is designed to be secure,efficient,flexible and scalable. ## Installation & Project Run
git clone https://github.com/AhmedSamir99/Article_Project.git

Database creation

  • create database
  • import articles_system.sql
  • create config.php
<?php
define("HOST","localhost");
define("USER",database_username);
define("PASS",database_password);
define("DB",database_name);
define("RECORDS_PER_PAGE",10);
define("Debug__Mode",0);
define("MIN_LENGTH",3);
define("MAX_LENGTH",20);
define("PASS_MIN_LENGTH",5);
define("PASS_MAX_LENGTH",20);
define("MOBILENUMBER_MIN_LENGTH",11);
define("SUMMARY_MIN_LENGTH",10);
define("SUMMARY_MAX_LENGTH",100);
define("body_MIN_LENGTH",10);
define("body_MAX_LENGTH",250);
define("Image_MAX_SIZE",5000000);

composer install
composer dump-autoload

Features

  • User authentication and Remember me option.
  • User profile.
  • Role-based access control.
  • Article creation, reading and deletion.
  • CRUD operation on Users and Groups.
  • soft delete.
  • Search and filtering and Pagination of all tables.
  • Responsive design .
  • Chart statistics and analysis.
  • Error and exception logging

Technologies

  • PHP
  • MySQL
  • JS
  • Bootstrap
  • CSS3
  • HTML5

Packages

Roles

Admin ----> Full access
Editor ---> Full access on articles - View Groups
User ---->Create and view their own articles

ScreenShoots Samples

image

image

image

image

image

image

image

image

Video Demo

Website Demo Video

Authors

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors