Skip to content

leofmds/ia-devs-tech-challenge-1

Repository files navigation

Tech Challenge - Phase 1


Youtube video: https://youtu.be/s0FN0xRPuKs


Aníbal - Leonardo - Alysson

Pre-requisites
  • Docker
  • docker-compose
  • python3.10

Run locally

Step 1 - configure database

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

Step 2 - running the application

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published