feat: complete platform overhaul, bugfixes, and verified production release

This commit is contained in:
Atharv1705
2026-10-28 21:47:48 +05:30
parent 276039a743
commit 3cb6229cd9
62 changed files with 1820 additions and 548 deletions
+23
View File
@@ -0,0 +1,23 @@
import sys
import os
sys.path.append(os.path.join(os.getcwd(), 'services', 'api'))
from app.db.database import SessionLocal
from app.models import User
from passlib.context import CryptContext
pwd_context = CryptContext(schemes=["bcrypt"], deprecated="auto")
db = SessionLocal()
email = "atharvagunjarge5@gmail.com".lower()
user = db.query(User).filter(User.email == email).first()
if user:
new_password = "Gunjarge@1705"
user.hashed_password = pwd_context.hash(new_password)
db.commit()
print("Password updated successfully!")
else:
print("User not found in database!")
db.close()