Projet de blog réalisé dans le cadre du cours de programmation Web à l'IUT Nancy-Charlemagne en DUT AS (2020-2021).
- Clone the repo localy
git clone https://github.com/DrNossberg/blogas.git
- Install the packages with composer
composer install
- Create the database and import
blog.sql
in your new database - Duplicate
conf.ini.skel
, remove.skel
extension and complete it :
driver=mysql
username=
password=
host=
database=
charset=utf8
collation=utf8_unicode_ci
- Enjoy!
- 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 | Status | Nickname | Password | |
---|---|---|---|---|
Donatien De Montazac | Admin | donaThe100 | [email protected] | 1234 |
Fabien Torrez | Member | foubMoutMout | [email protected] | 1234 |
Antoine Croute | Expeled member | superBisou | [email protected] | 1234 |