- Update models/__init__.py to properly export model classes
- Fix the AttributeError when referencing models.User in app/api/deps.py
- Ensure proper re-exports to satisfy linting requirements
- Add email-validator to requirements.txt
- Add fallback email validation for user and supplier schemas
- Implement graceful handling when email-validator is not installed
This commit includes:
- Project structure setup with FastAPI and SQLite
- Database models and schemas for inventory management
- CRUD operations for all entities
- API endpoints for product, category, supplier, and inventory management
- User authentication with JWT tokens
- Initial database migration
- Comprehensive README with setup instructions