Giter Site home page Giter Site logo

pro-blog's Introduction

Pro-blog

Projet 5 Blog made with PHP, Twig and a bootstrap theme

Code quality

SymfonyInsight

Requires

This project requires PHP 8.0, twig 3.5 and bootsrap 5.2 and an apache server 2.4. The DB is handled with PHPmyadmin 5.1.

Features

This blog :

  • Contains articles listed in a page and a link to each article with its comments displaying the author, title and last update date if exists.
  • Each article have its own page, which display all the article content, its comments and a form to add comments for logged in users.
  • Can create member accounts.
  • Implements an admin interface with restricted access.
  • Possibility to create/update articles when connected.
  • Possibility to manually validate by admin each new comment and article sent.
  • Admin can suspend and activate members.
  • Have a form contact in homepage.

INSTALLATION

Clone / Download

  1. Git clone the repository from this page. See GitHub Documentation

Database

  1. Create new Database in your favorite MySQL DMBS
  2. Import problog.sql file in this new Database

Config

  1. Open app/Model/DatabaseConnection.php file, then replace Databse fields with your own information

Install all dependencies

  1. Install Composer if you don't have it yet. See Composer Documentation
  2. Move on your project directory using cd command :
cd your/directory
  1. Run :
composer install

All dependencies should be installed in a vendor directory.

pro-blog's People

Contributors

benjva avatar

Watchers

 avatar

pro-blog's Issues

Setup layout

Header navbar add this :

  • Home page
  • Blogposts
  • Login button if not already logged in
  • Log out button if already logged in

Footer add this :

  • Links to social medias (GitHub, LinkedIn, Twitter)
  • Admin panel access button

single blog article

Possibility for users logged in to add new article awaiting publication.
Admin can publish or delete new articles.

Blog articles page

  • Show all blog articles list by most recent date
  • Show title
  • Show last update
  • Show short text
  • Add link to the single blog article

Modify single blog article

  • Button to modify article if logged in as administrator or author
    - Modify title
    - Modify short text
    - Modify content

Home page

  • List 3 recent blogpost
  • Catch phrase
  • Contact form :
    - Name
    - Mail
    - Message
  • Link to my resume

Single blog article

  • Button to comment article if already logged in
    - Pseudo
    - Message

  • List of comments validated and published

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.