phase 3.1
This commit is contained in:
@@ -69,7 +69,7 @@ Implementation tasks for the Reference Board Viewer, organized by user story (fu
|
||||
- [X] T022 [P] Create database connection in backend/app/database/session.py (SQLAlchemy engine)
|
||||
- [X] T023 [P] Create base database model in backend/app/database/base.py (declarative base)
|
||||
- [X] T024 [P] Implement dependency injection utilities in backend/app/core/deps.py (get_db session)
|
||||
- [ ] T025 Create initial migration 001_initial_schema.py implementing full schema from data-model.md
|
||||
- [X] T025 Create initial migration 001_initial_schema.py implementing full schema from data-model.md
|
||||
- [X] T026 [P] Create CORS middleware configuration in backend/app/core/middleware.py
|
||||
- [X] T027 [P] Create error handler utilities in backend/app/core/errors.py (exception classes)
|
||||
- [X] T028 [P] Implement response schemas in backend/app/core/schemas.py (base Pydantic models)
|
||||
@@ -101,28 +101,28 @@ Implementation tasks for the Reference Board Viewer, organized by user story (fu
|
||||
|
||||
**Backend Tasks:**
|
||||
|
||||
- [ ] T036 [P] [US1] Create User model in backend/app/database/models/user.py matching data-model.md schema
|
||||
- [ ] T037 [P] [US1] Create user schemas in backend/app/auth/schemas.py (UserCreate, UserLogin, UserResponse)
|
||||
- [ ] T038 [US1] Implement password hashing utilities in backend/app/auth/security.py (passlib bcrypt)
|
||||
- [ ] T039 [US1] Implement JWT token generation in backend/app/auth/jwt.py (python-jose)
|
||||
- [ ] T040 [US1] Create user repository in backend/app/auth/repository.py (database operations)
|
||||
- [ ] T041 [US1] Implement registration endpoint POST /auth/register in backend/app/api/auth.py
|
||||
- [ ] T042 [US1] Implement login endpoint POST /auth/login in backend/app/api/auth.py
|
||||
- [ ] T043 [US1] Implement current user endpoint GET /auth/me in backend/app/api/auth.py
|
||||
- [ ] T044 [US1] Create JWT validation dependency in backend/app/core/deps.py (get_current_user)
|
||||
- [X] T036 [P] [US1] Create User model in backend/app/database/models/user.py matching data-model.md schema
|
||||
- [X] T037 [P] [US1] Create user schemas in backend/app/auth/schemas.py (UserCreate, UserLogin, UserResponse)
|
||||
- [X] T038 [US1] Implement password hashing utilities in backend/app/auth/security.py (passlib bcrypt)
|
||||
- [X] T039 [US1] Implement JWT token generation in backend/app/auth/jwt.py (python-jose)
|
||||
- [X] T040 [US1] Create user repository in backend/app/auth/repository.py (database operations)
|
||||
- [X] T041 [US1] Implement registration endpoint POST /auth/register in backend/app/api/auth.py
|
||||
- [X] T042 [US1] Implement login endpoint POST /auth/login in backend/app/api/auth.py
|
||||
- [X] T043 [US1] Implement current user endpoint GET /auth/me in backend/app/api/auth.py
|
||||
- [X] T044 [US1] Create JWT validation dependency in backend/app/core/deps.py (get_current_user)
|
||||
- [ ] T045 [P] [US1] Write unit tests for password hashing in backend/tests/auth/test_security.py
|
||||
- [ ] T046 [P] [US1] Write unit tests for JWT generation in backend/tests/auth/test_jwt.py
|
||||
- [ ] T047 [P] [US1] Write integration tests for auth endpoints in backend/tests/api/test_auth.py
|
||||
|
||||
**Frontend Tasks:**
|
||||
|
||||
- [ ] T048 [P] [US1] Create login page in frontend/src/routes/login/+page.svelte
|
||||
- [ ] T049 [P] [US1] Create registration page in frontend/src/routes/register/+page.svelte
|
||||
- [ ] T050 [US1] Implement auth API client methods in frontend/src/lib/api/auth.ts
|
||||
- [ ] T051 [US1] Create auth store with login/logout logic in frontend/src/lib/stores/auth.ts
|
||||
- [ ] T052 [US1] Implement route protection in frontend/src/hooks.server.ts
|
||||
- [ ] T053 [P] [US1] Create LoginForm component in frontend/src/lib/components/auth/LoginForm.svelte
|
||||
- [ ] T054 [P] [US1] Create RegisterForm component in frontend/src/lib/components/auth/RegisterForm.svelte
|
||||
- [X] T048 [P] [US1] Create login page in frontend/src/routes/login/+page.svelte
|
||||
- [X] T049 [P] [US1] Create registration page in frontend/src/routes/register/+page.svelte
|
||||
- [X] T050 [US1] Implement auth API client methods in frontend/src/lib/api/auth.ts
|
||||
- [X] T051 [US1] Create auth store with login/logout logic in frontend/src/lib/stores/auth.ts
|
||||
- [X] T052 [US1] Implement route protection in frontend/src/hooks.server.ts
|
||||
- [X] T053 [P] [US1] Create LoginForm component in frontend/src/lib/components/auth/LoginForm.svelte
|
||||
- [X] T054 [P] [US1] Create RegisterForm component in frontend/src/lib/components/auth/RegisterForm.svelte
|
||||
- [ ] T055 [P] [US1] Write component tests for auth forms in frontend/tests/components/auth.test.ts
|
||||
|
||||
**Deliverables:**
|
||||
|
||||
Reference in New Issue
Block a user