This app build using php framework Symfony. Whole app works on MVC (Modal View Controller) principle.
-
To build database structure and interact with records as objects way App used "Databases and the Doctrine ORM".
-
To test app functionality used "The PHPUnit Testing Framework".
-
To manage TypeScript, Javascript and CSS files for dizain purposes used "Webpack Encore".
-
To redirect user to the needed url created service for kernel.event.listener to listen to the request and redirect when needed.
-
App also uses some async requests (AJAX) to make some content changes without reloading the page.
-
For testing used: dama/doctrine-test-bundle to revert changes made to database after every test.
-
Other technologies used in project Bootsrap.
Download
Run commands
composer update
npm i
npm run build
To start server use
symfony server:start
Current app is setuped to work on localhost address wich can be changed is .env file.
To start using the local web server go to
https://127.0.0.1:8000/
or
https://localhost:8000/
For testing used purpsoses created separate database.
NOTE: I tried run sqli database from memory for testing purposes but run into records creating problem.
To run test run command
symfony php bin/phpunit tests/StudentTest.php
Refresh is done by simply puting header with refresh tag
NOTE: Didn't have time to make content replace with async javascript.