pip install Flask>=2.0
pip install mysql-connector-python>=8.0
pip install psycopg2-binary>=2.9
pip install gunicorn>=20.1.0
pip install flask-cors>=3.0
pip install python-dotenv>=0.19.0pip install Flask mysql-connector-python psycopg2-binary gunicorn flask-cors python-dotenvpip install -r requirements.txtYou already ran the last command, so everything is installed! 🎉
- Download: https://www.python.org/downloads/
- ✅ Check "Add Python to PATH" during install
- Verify:
python --version
- Download: https://dev.mysql.com/downloads/installer/
- Set root password:
root - Port:
3306
Option 1: With MySQL Installer (Recommended)
- Download MySQL Installer: https://dev.mysql.com/downloads/installer/
- Run installer
- Choose "Developer Default" setup type
- It will install:
- MySQL Server
- MySQL Workbench
- MySQL Shell
- Connectors
- Open MySQL Workbench
- Click "+" next to "MySQL Connections"
- Enter details:
- Connection Name: Local MySQL
- Hostname:
localhost - Port:
3306 - Username:
root - Password: Click "Store in Vault" → enter
root
- Click "Test Connection"
- Click "OK"
Method 1: Execute SQL File
- Open MySQL Workbench
- Click your connection (Local MySQL)
- Go to File → Open SQL Script
- Select
E:\Sem 7\new\database.sql - Click ⚡ Execute button (or Ctrl+Shift+Enter)
- Repeat for
E:\Sem 7\new\ASS8\database.sql
Method 2: Copy-Paste
- Open your connection
- Click Query tab (blank editor)
- Copy SQL from your
.sqlfiles
- Download: https://code.visualstudio.com/
- ✅ Check "Add to PATH"
- Chrome/Edge (best for DevTools)
Press Ctrl+Shift+X and install:
- Python (by Microsoft)
- Live Server (by Ritwick Dey) - for HTML
- HTML CSS Support
- Auto Rename Tag
- JavaScript (ES6) code snippets
- MySQL (optional)
# Install packages
pip install -r requirements.txt# Login to MySQL
mysql -u root -p
# Run database files
mysql -u root -p < database.sql
cd ASS8
mysql -u root -p < database.sql- Right-click HTML file → "Open with Live Server"
- OR just open in browser
cd ASS5 # or ASS6, ASS7, ASS8
python app.pyAccess: http://127.0.0.1:5000
ASS6 Login: username: admin, password: admin
- Runs in browser automatically
- Press
F12→ Console tab to debug - Use
console.log()for testing - Your ASS3 already has JS validation working ✅
That's it! Your ASS3 registration.html with JS validation is ready to run - just open with Live Server or browser! 🎉