An open API service indexing awesome lists of open source software.

https://github.com/invincible1602/feedbacksystem

A full-stack feedback system that leverages advanced NLP and interactive dashboards to analyze customer sentiment in real time. Built using FastAPI, React, and Chart.js.
https://github.com/invincible1602/feedbacksystem

fastapi machine-learning python reactjs sentence-transformers

Last synced: 2 months ago
JSON representation

A full-stack feedback system that leverages advanced NLP and interactive dashboards to analyze customer sentiment in real time. Built using FastAPI, React, and Chart.js.

Awesome Lists containing this project

README

          

# Public Feedback System

This project provides a full-stack solution for analyzing public feedback using a FastAPI backend and a React frontend. It classifies user feedback into positive, negative, or neutral sentiments, generates tags based on the analysis, and stores analytics per company. An email notification is triggered when negative feedback exceeds a configurable threshold.

## Features

- **Sentiment Classification:** Uses Hugging Face's Transformers and Sentence Transformers to analyze feedback.
- **Tag Generation:** Associates feedback with tags derived from semantic similarity and keyword checks.
- **Analytics Dashboard:** Tracks sentiment counts and tags per company.
- **Email Notifications:** Alerts administrators when negative feedback crosses a set threshold.
- **API Endpoints:**
- `/classify/` – Accepts feedback and company name, performs analysis, and updates analytics.
- `/analytics/` – Retrieves analytics data. Optionally filters data by company.
- `/reset/` – (For testing purposes only) Resets the analytics data for a specified company. Note: In the final product, this endpoint will be removed or secured since resetting will delete stored data.
- `/` – Health check endpoint confirming that the API is running.

## Prerequisites

- Python 3.8 or later
- Node.js and npm (for the frontend)
- Git

## Installation

1. **Clone the Repository:**

```bash
git clone https://github.com/Invincible1602/Public-Feedback-System.git
```

Screenshots:
Screenshot 2025-03-16 at 6 51 09 PM
Screenshot 2025-03-16 at 6 51 19 PM
Screenshot 2025-03-16 at 6 53 09 PM
Screenshot 2025-03-16 at 6 53 20 PM
Screenshot 2025-03-16 at 6 56 55 PM