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.
Description:
I encountered several blocking issues while setting up the project locally on Windows, preventing the application from starting and fetching data.
This PR fixes the database initialization (missing tables), resolves the frontend-backend connection issue (IPv6 vs IPv4 conflict), and corrects a typo in the main navigation UI.
Changes Made
Database: Added the missing CREATE TABLE statement for trending_niches to the initialization script, resolving 500 Internal Server Errors.
Database: Added TRUNCATE cleanup to the seed script to prevent "Duplicate Key" errors when re-running setup.
Frontend Config: Updated vite.config.ts proxy target from localhost to 127.0.0.1 to fix connection refused errors on Windows.
UI: The navigation bar now displays the correct placeholder text.
🤝 Collaboration
Collaborated with: (None)
✅ Checklist
[x] I have read the contributing guidelines.
[x] I have added tests that prove my fix is effective or that my feature works. (Verified locally by successfully running the full stack).
[ ] I have added necessary documentation (if applicable).
[ ] Any dependent changes have been merged and published in downstream modules.
Summary by CodeRabbit
✏️ Tip: You can customize this high-level summary in your review settings.