Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Connected Feedback Frontend with Backend #2829

Merged
merged 1 commit into from
Nov 6, 2024

Conversation

IkkiOcean
Copy link
Contributor

Description

This PR implements the connection between the feedback backend and the frontend of our application. The following changes have been made:

  1. API Creation:

    • Developed a new API endpoint to fetch feedback data from the backend. This API is designed to provide structured feedback entries that can be used throughout the application.
  2. Frontend Integration:

    • Integrated the newly created feedback API with the frontend on the homepage.
    • Implemented functionality to retrieve and display feedback data dynamically, ensuring that users can see the latest feedback without needing to refresh the page.

Changes Made

  • Backend:

    • Created an API endpoint at /api/feedback/getfeedback that returns feedback data in JSON format.
    • Ensured that the API adheres to our existing data structure and includes necessary error handling.
  • Frontend:

    • Updated the homepage component to fetch feedback data upon loading.
    • Rendered the feedback data in a visually appealing format, including author names, emails, and the feedback message.

📄 Type of Change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation update (adds or updates related documentation)

📷 Screenshots/GIFs (if any)

fin.mp4

✅ Checklist

  • I am a participant of GSSoC-ext.
  • I have followed the contribution guidelines of this project.
  • I have made this change from my own.
  • I have taken help from some online resources.
  • My code follows the style guidelines of this project.
  • I have performed a self-review of my own code.
  • I have added documentation to explain my changes.

Mandatory Tasks

  • Make sure you have self-reviewed the code. A decent size PR without self-review might be rejected.

🤝 GSSoC Participation

  • This PR is submitted under the GSSoC program.
  • I have taken prior approval for this feature/fix.

Copy link

vercel bot commented Nov 5, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
fin-veda ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 5, 2024 7:56pm

Copy link

github-actions bot commented Nov 5, 2024

Thank you for submitting your chaotic pull request! 🙌 We'll review it as soon as possible. In the meantime, please ensure that your changes align with our chaotic CONTRIBUTING.md. If there are any specific instructions or feedback regarding your PR, we'll provide them here. Thanks again for your contribution! 😊

Copy link

netlify bot commented Nov 5, 2024

Deploy Preview for getfinveda ready!

Name Link
🔨 Latest commit ce287d7
🔍 Latest deploy log https://app.netlify.com/sites/getfinveda/deploys/672a78701deec60008f79716
😎 Deploy Preview https://deploy-preview-2829--getfinveda.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
1 paths audited
Performance: 31
Accessibility: 73
Best Practices: 75
SEO: 73
PWA: -
View the detailed breakdown and full score reports

To edit notification comments on pull requests, go to your Netlify site configuration.

@IkkiOcean
Copy link
Contributor Author

@deepeshmlgupta Please add level 3 as this was a full stack commit. I created API and integrated it with frontend also.

Note I have noticed that the PR which contained the frontend to post feedbacks was merged but isn't present in the repo. Please add that since you need to submit some feedbacks to actually show them on home page. For the development I posted feedbacks from my console.

@sampadatiwari30 sampadatiwari30 merged commit 69011fe into ayush-that:main Nov 6, 2024
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

FEATURE: Refactor Testimonial Section for Dynamic Data Retrieval
2 participants