1) for project init -> python3 -m venv .venv
2) to activate it use -> source .venv/bin/activate -> and to deactivate just use ->deactivate
3) to create fast-api project use -> python3 -m pip install "fastapi[standard]"

4) create main.py 
5) to run project -> uvicorn main:app --reload  //but if file is inside src or app then you have to call uvicorn src.main:app --reload
app is the object inside main.py file.

thats for latter use 
 echo "*" > .venv/.gitignore

 DATABASE_URL="postgresql://postgres:new_password@localhost/aw-gems"

ezphfvqn_todos=db
ezphfvqn_user_todo
user_todo_99

 install packages -> python3 -m pip install requests

 to update add, or show your packages in file -> uv pip freeze > requirements.txt


1) to generate tables -> uv run alembic init alembic
2) alembic.env.py -> change url , import base and change it , import all tables.
3) go to alembic.ini in root of project and comment ; sqlalchemy.url = driver://user:pass@localhost/dbname this line so that it does not hit this url for generations
4) uv run alembic revision --autogenerate -m "all_schema"
5)uv run alembic upgrade head// to create migrations
5)uv run alembic downgrade -1 // to rollback 





db=ezphfvqn_trainer /ezphfvqn_ezphfvqn_trainer
user=ezphfvqn_user2
pass=ezphfvqn_ai_trainer