This project is based on task from Bauman University (course TDSP-2019).
python3 -m venv venv
source venv/bin/activate
pip install -r req.txt
mysql -u root -p
CREATE USER 'surdo_user'@'localhost' IDENTIFIED BY 'UserPass123)';
CREATE DATABASE surdoDB CHARACTER SET utf8 DEFAULT COLLATE utf8_general_ci;
GRANT ALL PRIVILEGES ON surdoDB.* To 'surdo_user'@'localhost';
Then execute all scripts from docs/database_create.txt or reset database from surdoDB.sql
mysqldump -u surdo_user -p surdoDB > surdoDB.sql #save database
mysql -u surdo_user -p surdoDB < surdoDB.sql
- Log in was created with the help of this youtube link
- Visitor Pattern with this link
- Table Data Gateway Pattern with this link
- Service Layer with this link