
- Create User model and database schema - Add JWT authentication with secure password hashing - Create authentication endpoints for registration and login - Update invoice routes to require authentication - Ensure users can only access their own invoices - Update documentation in README.md
25 lines
451 B
Python
25 lines
451 B
Python
from app.schemas.invoice import ( # noqa: F401
|
|
InvoiceBase,
|
|
InvoiceCreate,
|
|
InvoiceDB,
|
|
InvoiceUpdate,
|
|
InvoiceItemBase,
|
|
InvoiceItemCreate,
|
|
InvoiceItemDB,
|
|
InvoiceSearchQuery,
|
|
InvoiceStatusUpdate,
|
|
InvoiceAdvancedFilter
|
|
)
|
|
|
|
from app.schemas.user import ( # noqa: F401
|
|
User,
|
|
UserCreate,
|
|
UserUpdate,
|
|
UserInDB,
|
|
UserBase
|
|
)
|
|
|
|
from app.schemas.token import ( # noqa: F401
|
|
Token,
|
|
TokenPayload
|
|
) |