Skip to content

Merge code developed together with Gemini LLM#1

Merged
Linux-oiD merged 12 commits into
mainfrom
gemini
Apr 3, 2026
Merged

Merge code developed together with Gemini LLM#1
Linux-oiD merged 12 commits into
mainfrom
gemini

Conversation

@Linux-oiD
Copy link
Copy Markdown
Owner

No description provided.

Linux-oiD added 12 commits April 2, 2026 20:15
- 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
@Linux-oiD Linux-oiD merged commit 4ca5cd1 into main Apr 3, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant