Skip to content

๐Ÿ“˜ Complete blog application from scratch using PHP and MySQL database.

License

Notifications You must be signed in to change notification settings

MajhiRockzZ/php-content-management-system

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Blogging System / Content Management System ๐Ÿ“˜

Complete blog application from scratch using PHP and MySQL database.

Features

  • A user registration system that manages two types of users: Admin and Normal users.

  • The CMS have an admin area and a public area separate from each other

  • The admin area will be accessible only to logged in admin users and the public area to the normal users and the general public.

  • In the admin section, two types of admins exist:

    • Admin :
      • Can create, view, update, publish/unpublish and delete ANY post.
      • Can also create, view, update and delete topics.
      • An Admin user (and only an Admin user) can create another admin user or Author
      • Can view, update and delete other admin users
    • Author :
      • Can create, view, update and delete only posts created by themselves
      • They cannot publish a post. All publishing of posts is done by the Admin user.
  • Only published posts are displayed in the public area for viewing

  • Each post is created under a particular topic

  • A many-to-many relationship exists between posts and topics.

  • The public page lists posts each post displayed with a featured image, author, and date of creation.

  • The user can browse through all posts listings under a particular topic by clicking on the topic

  • When a user clicks on a post, they can view the full post and comment at the bottom on the posts

Prerequisites

Basic understanding of PHP language and MySQL database management system.

Installing

  • Clone the repository on your server directory ( htdocs or www ) :
git clone https://github.com/MajhiRockzZ/php-content-management-system.git
  • To view this in your browser, go to http://localhost/php-content-management-system/

  • You can import the database from cms.sql file ( which is included in this repository ) using phpMyAdmin.

  • That's all. ๐ŸŽ‰

๐Ÿ’– You loved it right ?

  • Also you can open this folder in a text editor of your choice, for example, Visual Studio Code.

Tools Used

Built With

  • PHP - General-purpose scripting language.
  • MySQL - Open-source relational database management system.
  • Git - Software for tracking changes.

Authors

License

This project is licensed under the MIT License - see the LICENSE file for details

Acknowledgments

  • Edwin Diaz - The Instructor that cares! ๐Ÿ˜‡