feat: add full project - backend, frontend, docker, specs and configs
This commit is contained in:
parent
b77c7d5a01
commit
e6cb06255b
24489 changed files with 61341 additions and 36 deletions
18
.specify/features/012-register-rich-profile/tasks.md
Normal file
18
.specify/features/012-register-rich-profile/tasks.md
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
# Tasks: Cadastro Rico de Cliente (Perfil Completo no Registro)
|
||||
|
||||
**Feature**: `012-register-rich-profile`
|
||||
**Generated**: 2026-04-14
|
||||
**Depends On**: Feature 011 — migration `a2b3c4d5e6f7_enrich_client_users.py` (colunas já existem em `client_users`)
|
||||
|
||||
---
|
||||
|
||||
## Backend
|
||||
- [x] T001 `RegisterIn` schema: adicionar 11 campos opcionais (`phone`, `whatsapp`, `cpf`, `birth_date`, `address_street`, `address_number`, `address_complement`, `address_neighborhood`, `address_city`, `address_state`, `address_zip`) em `backend/app/schemas/auth.py`
|
||||
- [x] T002 `auth.py` `register()`: passar novos campos ao construtor de `ClientUser` em `backend/app/routes/auth.py`
|
||||
|
||||
## Frontend
|
||||
- [x] T003 [P] `types/auth.ts`: expandir `RegisterCredentials` com 11 campos opcionais em `frontend/src/types/auth.ts`
|
||||
- [x] T004 `RegisterPage.tsx`: adicionar estados para novos campos + funções de máscara (`maskCpf`, `maskPhone`, `maskZip`) em `frontend/src/pages/RegisterPage.tsx`
|
||||
- [x] T005 `RegisterPage.tsx`: seção "Contato" com campos `phone`, `whatsapp`, `cpf`, `birth_date` em `frontend/src/pages/RegisterPage.tsx`
|
||||
- [x] T006 `RegisterPage.tsx`: seção "Endereço" com campos `address_street`, `address_number`, `address_complement`, `address_neighborhood`, `address_city`, `address_state`, `address_zip` em `frontend/src/pages/RegisterPage.tsx`
|
||||
- [x] T007 `RegisterPage.tsx`: incluir novos campos no objeto passado para `register()` em `frontend/src/pages/RegisterPage.tsx`
|
||||
Loading…
Add table
Add a link
Reference in a new issue