Skip to content

Latest commit

 

History

History
41 lines (32 loc) · 804 Bytes

README.md

File metadata and controls

41 lines (32 loc) · 804 Bytes

flask-app-challenge

Rodar aplicação local

  1. Criar virtual environment e utilizá-lo
python -m venv venv
source venv/bin/activate
  1. Instalar módulos
pip install -r requirements.txt
  1. Rodar aplicação
flask run
or
gunicorn "app:create_app()" 
  1. Endpoints
flask run
service endpoint = http://localhost:5000/oauth/v1
health endpoint = http://localhost:5000/oauth/v1/health

gunicorn
service endpoint = http://localhost:8000/oauth/v1
health endpoint = http://localhost:8000/oauth/v1/health

Pré-requisitos:

Instalar Docker e Docker Compose