feat: pydantic schemas and CRUD operations with tests
- Added ContactCreate and ContactResponse schemas
- Implemented create_contact CRUD function
- Updated config to use lazy Settings loading
- Fixed Pydantic V2 validator syntax (field_validator)
- Added email-validator dependency
- All tests passing (5/5)
1 parent b1852fe commit d27ebcd58a1d0faae8ee4e5ba1eb69b8031096b8
@Eric Chicoine Eric Chicoine authored 20 days ago
Showing 6 changed files
View
app/config.py
View
app/crud.py 0 → 100644
View
app/schemas.py 0 → 100644
View
requirements.txt
View
tests/test_crud.py 0 → 100644
View
tests/test_schemas.py 0 → 100644