Conversation
- Implement JWTManager for token generation/validation - Migrate usecases to use log/slog - Update OAuth flow to handle registration and provider binding - Fix UserManager to create profile on registration - Add unit tests for UserManager - Define standard error constants
- Add Passkey model and migration to dbm service - Implement PasskeyDB repository in auth service - Implement PasskeyManager usecase using github.com/go-webauthn/webauthn - Add Passkey registration and login routes (/v1/passkey) - Implement Passkey HTTP handlers with session-based challenge storage - Update User entity to implement webauthn.User interface
- Restructure folder hierarchy (components, pages, types, context) - Implement AuthProvider with AuthContext - Create MainLayout with responsive Header and Footer - Implement Strava-inspired design using Ant Design - Add Login/Register modal with OAuth and Passkey options - Design Homepage with feed and sidebar stats - Update App.tsx to use new architecture and theme
- Create project-wide config.toml.template - Update Viper config loaders in all services (auth, api, dbm) - Implement root Makefile with 'init' and 'dev' commands - Add Air configuration for hot-reload of Go services - Configure Vite .env for API bootstrap - Add config.toml to .gitignore
…mentation - Add @github/webauthn-json to web dependencies - Implement passkeyService for frontend WebAuthn flow - Add Passkey registration and login to AppHeader UI - Update backend Passkey handlers to return proper JSON and user data - Update project README with Development Environment instructions
- Add github.com/golang-jwt/jwt/v5 to api dependencies - Implement JWTMiddleware to validate JWT from Authorization header or Cookie - Protect PUT /v1/users/profile route with JWTMiddleware - Update UserController to use user information from context
- Update mkdocs.yml with navigation structure - Replace default index.md with FitFeed overview - Create development.md with setup guide and LLM policy - Create architecture.md with microservices and clean code details - Create data-models.md with detailed database schema - Create service-specific documentation for Auth, API, and Web services
- Reorganize docs into User, Admin, and Developer sections - Enable Mermaid diagrams in MkDocs - Add ERD diagram to data-models.md - Add Architecture overview diagram - Create .github/workflows/ci.yml for Go and React tests - Create .github/workflows/docs.yml for automated documentation deployment - Include security scans (govulncheck, gosec) in CI
- Fix 'User' export error in AuthContext.tsx by using import type - Restructure api service to match auth service (removed src folder) - Update Air config, Makefile, and CI workflow for new api structure - Fix TypeScript errors in AppHeader, MainLayout, and Home - Successfully verified with 'bun run build'
- Fix unused variable 'oauthProvider' in auth service - Fix unused import 'log' in auth main.go - Replace explicit 'any' with type-safe handling in web AppHeader.tsx - Suppress react-refresh warning in web AuthContext.tsx
- Add dev-stop target to root Makefile - Automate migrate-up in make dev after starting database - Update README and developer docs with new make commands
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.