
- Set up project structure with FastAPI - Implement user authentication system with JWT tokens - Create database models for users, notes, and collections - Set up SQLAlchemy ORM and Alembic migrations - Implement CRUD operations for notes and collections - Add filtering and sorting capabilities for notes - Implement health check endpoint - Update project documentation
21 lines
933 B
Python
21 lines
933 B
Python
from app.crud.crud_collection import create as create_collection
|
|
from app.crud.crud_collection import get as get_collection
|
|
from app.crud.crud_collection import get_multi_by_owner as get_collections_by_owner
|
|
from app.crud.crud_collection import remove as remove_collection
|
|
from app.crud.crud_collection import update as update_collection
|
|
from app.crud.crud_note import create as create_note
|
|
from app.crud.crud_note import get as get_note
|
|
from app.crud.crud_note import (
|
|
get_archived_notes,
|
|
get_multi_by_collection,
|
|
get_multi_by_owner,
|
|
get_multi_by_owner_sorted,
|
|
get_notes_created_between,
|
|
search_notes,
|
|
)
|
|
from app.crud.crud_note import remove as remove_note
|
|
from app.crud.crud_note import update as update_note
|
|
from app.crud.crud_user import authenticate, get, get_by_email, get_by_username, is_active
|
|
from app.crud.crud_user import create as create_user
|
|
from app.crud.crud_user import update as update_user
|