Project Instructions

What is Sentiment analysis?

Sentiment analysis (or opinion mining) is a natural language processing technique used to determine whether data is positive, negative or neutral. Sentiment analysis is often performed on textual data to help businesses monitor brand and product sentiment in customer feedback, and understand customer needs.

The goal of this project is to practice with:

  • Setting up Webpack

  • Sass styles

  • Webpack Loaders and Plugins

  • Creating layouts and page design

  • Service workers

  • Using APIs and creating requests to external urls

Getting started

cd into your new folder and run:

npm install

Setting up the API

Step 1: Signup for an API key

First, you will need to go here. Signing up will get you an API key.

Step 2: Environment Variables

  1. Next we need to create a .env file in the root dirctory of the project

  2. Fill the .env file with your API keys like this:

API_KEY = '<API key>'

Run the app locally

  1. complie the project files using webpack

    npm run build-prod
    

    Or start a develpoment webpack server

    npm run build-dev
    
  2. Start the node server

    npm run start
    

Try a live Demo

Sentiment analysis UI