PostgresSql has a limitation, it does not migrate database once table is created, So we use alembic that help to migrate on every changes in postgresSql. models
NOTE :- Pydantic help to validate data using python.
Create vitual env
Command:-
python3 -m venv <NameOfYourEnvironment>
Activate virtual env
Command:-
source venv/bin/activate
Install all packages
Command:-
pip install -r requirements.txt
Use Command:-
uvicorn app.main:app --reload
This command will continuously check if anything you do changes in your file.
Use Command:
docker compose -f docker-compose-dev.yml up