I have developed this console project using MVC architecture by applying DAO pattern and connected with MySQL local server.
Run this project
-
Create database
(i) Create database on MySQL workbench.
(ii) Inside Database, by using the database.sql file, create database and tables on workbench MySQL server.
(iii) Change your root username, password, database_name in the Config/DB_Config.py file.
-
Create virtual environment
python -m venv .venv
- Activate virtual environment
.venv\Scripts\activate.ps
- Install required dependencies
pip install -r requirements.txt
- Run project
python main.py