Giter VIP home page Giter VIP logo

blog-cms's Introduction

Blog CMS

A blogging system built in php that hadles an admin user, registration of regular users/bloggers and will eventually be able to have subscribers. This specific code base is a little messy so far but it will be under continuous refactoring for awhile. But feel free to check it out and play with it yourself.

Set Up

  1. Open the file '/includes/db.php' and add your database credentials to the DSN, USERNAME and PASSWORD constants for the PDO instance. The application was tested with mysql.
  2. Open the file '/createtables.sql' and run all the queries in that file from top to bottom.
  3. Visit '/register' and fill in the form to create a user account. Afterwards, you will be routed back to the '/index.php' page.
  4. As of right now, the account you just made was a user account which will not allow you to see any of the admin pages, to become an admin, visit '/toAdmin.php'. What you should see is "You are now the admin user". Click the button to go back to the login page.
  5. Login in as the user that you just registered and you should see the Dashboard. In the info card, it should say that your users role is 'Admin'. If you see this page, everything was a success!

Have fun checking out the application. Some functionality may not be present right away.

blog-cms's People

Contributors

lvstross avatar

Watchers

 avatar  avatar

Forkers

gurgan

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.