php7, mvc, oop, mysql, javascript, composer, export-to-excel, export-to-pdf, phpmailer ratcher-php-server, twig, bootstrap, jquery, hideShowPassword
This platform enables the publication of proposals by teachers of an educational institution.
This platform gives teachers from one institution the option to share their suggestions with others among the same institution.
https://www.youtube.com/watch?v=3RmUDs5ip_4
Teacher suggestions.pdf
Tested on WAMP server - Tested on WAMP server:
Apache/2.4.37 (Win64)
PHP/7.2.14 - Port defined for Apache: 80
MySQL/5.7.24
Create a new virtual host on the WAMP server, hereinafter MS94PROJEKAT - as a virtual host, with the path to the public folder: pathtoMS94PROJEKATpublic
Make a virtual host.
Create a new empty base. (hereinafter database name: teacher_suggestions) 2.1. SET COLLATION TO: utf8_unicode_ci
Create database with utf8_unicode_ci collation.
hint: (C:wamp64binmysqlmysql5.7.24bin)
Run the command mysql -h localhost -u root -p teacher_suggestions < databaseSetup.sql
Init database.
Run composer install.
Run 'composer install'.
In the file AppConfig, set the variables in the appropriate way: DB_HOST = 'localhost'; DB_NAME = 'teacher_suggestions'; DB_USER = 'root'; DB_PASSWORD = 'CODE';
hint: (instead of 'root' set the appropriate user if needed) hint: (instead of 'localhost' set the appropriate HOST if needed)
Enter right credentials for connecting to the database.
In the file AppConfig, set the variable SEND_MAIL to true, if desired, and then set the appropriate configuration of YOUR account in the file AppMail (lines 29, 30, 35) from which the activation email and password change email will be sent. Also in this case, create a new user with a REAL email address. Conversely, manually activate the user in the database: teacher_predlozi, table users, column is_active. Set to 1.
Edit in file AppConfig variable SEND_MAIL if you want the activation and reset password mail to be sent to the user. Otherwise do it manually.
All users have code 123456, users: [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected]
hint: ([email protected] is admin)
All users have password: 123456.
Start the Web Socket server. The file is located in AppWebSocketServer.php.
hint: (Command: php WebSocketServer.php)
Run AppWebSocketServer.php: php WebSocketServer.php.
Run the application in the browser: MS94PROJEKAT.
Run virtual hosted application in browser.