/sentiment_frontend

This repository is for the testing of the Flask sentiment server api's for the Social Sensing Project

Primary LanguageJavaScript

Sentiment Analysis Frontend

This project contains a simple frontend application built with React for testing a sentiment analysis API.

Overview

The frontend allows users to input text or a batch of texts, which are then sent to the sentiment analysis API for processing. Once processed, the sentiment results are displayed on the screen.

Setup

  1. Clone the repository to your local machine.
  2. Navigate to the project directory.
  3. Install dependencies by running npm install.
  4. Start the development server with npm start.

Usage

  1. Enter one or more texts in the input field.
  2. Click the "Analyze Sentiments" button to send the texts to the API.
  3. Once the analysis is complete, the sentiment results will be displayed below the input field.

Technologies Used

  • React
  • JavaScript
  • CSS

API Endpoint

The frontend interacts with the sentiment analysis API hosted at https://deploy-check-azure.vercel.app/api/batch_sentiment.