Demo: https://projects.elmer.dev/oop-mvc/
Uses Bootstrap 4 for the CSS framework.
- Adding, listing, updating, deleting entries
- User registration
- User login/logout
- Password-hashing (bcrypt encryption)
Modify the config.php file and add your database credentials.
Create two tables in phpmyadmin called shares and users with the fields listed below:
shares_
- id (INT, PRIMARY, AUTO_INCREMENT)
- user_id (INT)
- title (VARCHAR (255))
- body (TEXT)
- link (VARCHAR (255))
- create_date (DATETIME, CURRENT_TIMESTAMP())
users
- id (INT, PRIMARY, AUTO_INCREMENT)
- name (VARCHAR (255))
- email (VARCHAR (255))
- password (VARCHAR (500))
- register_date (DATETIME, CURRENT_TIMESTAMP())