Youtube video: https://youtu.be/s0FN0xRPuKs
Aníbal - Leonardo - Alysson
- Docker
- docker-compose
- python3.10
You'll need to run the docker-compose.yml in order to have postgres running in your machine:
docker-compose up -d
After that command, you'll have postgres running and responding on port 5432. Now we just need to run the migrations in order to create the database.
alembic upgrade head
Before running the application we need to ensure we have all python dependencies.
pip install -r requirements.txt
Now we just need to run our API on uvicorn
uvicorn app.app:app --reload
With that our application we'll be up and responding on port 8000