O projeto visa a construção e simulação de uma api bancária.
Para criar o banco de dados utilize o gerenciador de container docker na pasta raiz.
docker-compose up
Use o gerenciador pip para instalar o gerenciador de pacotes pipenv.
pip install pipenv
Dentro da pasta bank-api instale os pacotes necessários para rodar o projeto.
pipenv install
Para criar as tabelas do banco de dados use o comando:
flask db upgrade
Para rodar o projeto:
export FLASK_ENV=development
flask run
Acesse a rota para verificar se tudo correu como o planejado:
http://localhost:5000
pytest