A group project for a Database subject in college, completed by: Maciej Biel, Karol Bobowski, Kamil Data.
Technology stack: PHP 8
, PostgreSQL
, PL/pgSQL
NOTE: Polish names in folders and class names appear for the purpose of the subject.
The project is an online electronics store web application. The application allows the administrator to manage customers, products, create new orders, edit them, delete them, etc. It also allows customers to place orders and edit them.
The back-end, or all the business logic, has been fully transferred to PostgreSQL. PHP is only used to perform functions and procedures implemented in PostgreSQL, which return appropriate data or messages, errors, etc.
The front-end was created using pure PHP without any frameworks. The MVC pattern was used in the application. Class autoloading complies with PSR-4. The Twig template was used, the Faker library was used to generate random user data and addresses, and the X-Kom website was used to help with product data. The pecee/simple-router was used as a router.
Homepage
Login panel
Admin panel - home
Admin panel - all users addresses
Admin panel - add user address
Admin panel - show user address
Admin panel - edit user address
Admin panel - all users
Admin panel - show user
Admin panel - add user
Admin panel - all products
Admin panel - show product
Admin panel - edit product
Admin panel - orders
Admin panel - add order
Admin panel - add order
Admin panel - show order
Admin panel - show order
Admin panel - system logs