Skip to content

DrNossberg/blogas

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Projet Blog

Projet de blog réalisé dans le cadre du cours de programmation Web à l'IUT Nancy-Charlemagne en DUT AS (2020-2021).

Installation

  1. Clone the repo localy
git clone https://github.com/DrNossberg/blogas.git
  1. Install the packages with composer
composer install
  1. Create the database and import blog.sql in your new database
  2. Duplicate conf.ini.skel, remove .skel extension and complete it :
driver=mysql
username=
password=
host=
database=
charset=utf8
collation=utf8_unicode_ci
  1. Enjoy!

Features

  • Home page with 20 last posts (pagination button exists but doesn not work)
  • Registering of a new member: it verifies if nickname and email are not already existing
  • Connexion of a member ⋅⋅⋅ The connexion can be made with nickanme or email ⋅⋅⋅ Remember the session for 7 days, works on one browser at the time
  • Manual disconnexion of a connected user
  • Display of a complete post with its comments
  • Entry of a new post (members and admins only)
  • Entry of a new comment on a post (members and admins only)

In the database, passwords are hashed for more security and connexion tokens are hashed too.

Admin panel (for admins only):

  • Entry of a new category: it verifies if the category name doesn't already exists
  • Display list of members: ordered by names
  • Possibility to expel a member (and unexpel): when expeled, a member cannot connect and their posts / comments are not shown ⋅⋅⋅ For some reasons expeling a member sometimes bugs and another member is expeled (May be odds be ever in your favor)

Users already in the database with different status :

Users Status Nickname E-mail Password
Donatien De Montazac Admin donaThe100 [email protected] 1234
Fabien Torrez Member foubMoutMout [email protected] 1234
Antoine Croute Expeled member superBisou [email protected] 1234

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 95.7%
  • CSS 2.9%
  • JavaScript 1.4%