BenGoBlue05 / nlp

Udacity FEND Project 4

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

nlp

Udacity FEND Project 4

This project analyzes text and determines the sentiment (positive, negative, etc).

How to run

1. Add MeaningCloud API Key

Sign up for MeaningCloud Sentiment Analysis API key. In .env replace 'YOUR_API_KEY' w/ the your new api key.

2. Run

npm i
npm run build-prod
npm start

Open http://localhost:3000/ in browser to view.

Run tests

Tests are run using Jest

npm i -D
npm test

Run Dev w/ Automatic Refresh

Start prod (See 'How to run' above) and while that is running, in a separate terminal enter the following:

npm i -D
npm run build-dev

This should automatically open a tab in browser at http://localhost:9000/

About

Udacity FEND Project 4


Languages

Language:JavaScript 71.9%Language:HTML 16.8%Language:SCSS 11.0%Language:Shell 0.3%