Skip to content

techmornach/Sentiment_bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sentiment Client

The Sentiment Bot Client is a React application that allows users to input text and analyze its sentiment using the Sentiment Analysis API.

Demo

Sentiment Demo

Getting Started

These instructions will help you set up and run the Sentiment Bot Client on your local machine.

Prerequisites

To run the Sentiment Bot Client, you need to have the following software installed:

  • Node.js (version 10 or higher)
  • npm (Node Package Manager)

Installing

  1. Clone the repository and navigate to the project directory:

    git clone https://github.com/your-username/sentiment-analysis-frontend.git
    cd sentiment-analysis-frontend
  2. Install the required dependencies by running the following command:

    npm install

Running the Application

To start the Sentiment Bot Client, run the following command:

npm start

The application will open in your default browser at http://localhost:3000.

Usage

  1. Open the application in your browser.

  2. Enter the text you want to analyze in the input field.

  3. Click the "Analyze Sentiment" button.

  4. The application will send a request to the Sentiment Analysis API and display the sentiment analysis result.

Customization

You can customize the Sentiment Analysis Frontend to fit your specific requirements. Some potential areas for customization include:

  • Styling: Modify the CSS files (SentimentAnalysisForm.css, etc.) to change the appearance of the components.

  • Error Handling: Implement additional error handling mechanisms or display error messages for failed API requests.

  • Integration: Extend the application to include other features or integrate with different APIs.

Dependencies

The Sentiment Analysis Frontend uses the following main dependencies:

  • React: JavaScript library for building user interfaces.
  • axios: Promise-based HTTP client for making API requests.

For a full list of dependencies, please refer to the package.json file.

License

This project is licensed under the MIT License.

About

Simple app which can analyze the sentiment of text input

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published