Refactor - #1
Open
CoderUzumaki wants to merge 8 commits into
Open
Conversation
- Move one-off scripts into backend/scripts/ - Replace print()/console.log with structured loggers - Centralize all hardcoded paths/URLs/models into config.Config - Harden SECRET_KEY: ephemeral in dev, required in prod - Require NEXT_PUBLIC_BACKEND_URL at build time - Lock CORS to ALLOWED_ORIGINS allowlist - Fix latent dual-DB bug (SQLAlchemy and sqlite3 were hitting different files)
- Add docs/AUTH.md (Supabase chosen, JWKS-verified) - Add backend/utils/auth.py with @require_auth decorator - Add PyJWT[crypto] dependency - Decorate all 31 data routes; drop client-supplied user_id everywhere - Fix latent IDOR on PUT /transactions/<id> and POST /insights/<id>/read
- Update LLM_TEXT_MODEL default value and add get_llm_text_model method for dynamic resolution. - Modify AI components to utilize the new method for model retrieval. - Introduce authentication routes and provider in the frontend, integrating Supabase for user management. - Implement AuthGuard to protect routes and manage user sessions effectively. - Update package dependencies for Supabase integration and streamline requirements.
- Introduced a new `PLAN.md` file detailing the comprehensive production plan and implementation status. - Updated `DEPLOYMENT.md` to include backend deployment instructions for Render, detailing services and environment variables. - Revised `QUICK_START.md` for clarity and streamlined setup instructions, including environment variable configurations. - Added a `render.yaml` blueprint for deploying the application on Render with specified services and environment variables. - Improved error handling in the backend application for better user feedback on file size limits and HTTP exceptions.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
- Introduced a new `GhostIconButton` component in the chatbot interface. - The component features customizable labels and children, improving the flexibility of button usage. - Styled with responsive design considerations for both light and dark themes.
- Updated `DEPLOYMENT.md` to clarify Vercel configuration steps and environment variable settings. - Added new SVG logo and various favicon images for improved branding. - Introduced a web manifest for better PWA support. - Refined global CSS variables for improved theming and design consistency. - Updated layout and page components to utilize new fonts and metadata for enhanced SEO and user experience. - Implemented a robots.txt and sitemap for better search engine indexing.
- Updated SearchModal to use useCallback for handleClose, improving performance. - Replaced img tags with Image component in AITeamSection for optimized image loading. - Enhanced styling in GlassmorphismNav for better visual consistency. - Improved IntersectionObserver implementation in ProblemSolutionComparison and ProblemSolutionSection for better performance and readability.
- Changed metadata keys for Google Bot from camelCase to kebab-case to align with standard practices. - Ensured consistency in metadata formatting for improved search engine indexing.
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.