Skip to content

Latest commit

 

History

History
39 lines (33 loc) · 889 Bytes

File metadata and controls

39 lines (33 loc) · 889 Bytes

prazos-cobrancas

Monorepo para API (Python) e Web (Vite/React).

Como rodar

API (Python)

  1. Crie e ative um venv:
    • Windows PowerShell:
      • cd api
      • python -m venv .venv
      • .\.venv\Scripts\Activate
  2. Instale dependências de desenvolvimento:
    • python -m pip install --upgrade pip
    • python -m pip install -e .[dev]
  3. Rodar servidor:
    • uvicorn app.main:app --reload
  4. Rodar testes:
    • pytest
  5. Lint:
    • ruff check .

Web (Node/Vite/React)

  1. Instale dependências:
    • cd web
    • npm install
  2. Rodar dev server:
    • npm run dev
  3. Testes:
    • npm test
  4. Lint:
    • npm run lint

Visão rápida da arquitetura

  • api/: app FastAPI em api/app/ com testes em api/tests/.
  • web/: app React com Vite.
  • docs/: documentação do projeto.
  • .github/workflows/ci.yml: CI separada para API (Python) e Web (Node).