Fourth project for Udacity's Front-end Nanodegree.
The app fetches the sentiment analysis of either text or a webpage provided by the user.
Before you begin, ensure you have met the following requirements:
- You have a browser, Chrome is preferable.
- You have installed node and have a code editor such as Visual Studio Code.
As this project depends on Nodejs and Node Package Manager (NPM) you must download and install Node (NPM comes with Node) from here.
After cloning, open your terminal and run:
npm installtip: npm i is shorthand for npm install
In order to run the app locally you need to signup for the meaningCloud API here.
In the root directory, create a .env file to safely store your API key.
API_KEY = "**************************"
Start the webpack dev-server
npm build-devStart the server
npm startGenerate the dist folder
npm build-prodstart the server
npm startNavigate to http://localhost:2099
To run the tests, run
npm testDeployed with Heroku at nlp-sentiment-analysis-app.herokuapp
- SCSS
- HTML
- JS
- API
- NodeJS
- Express
- Webpack
- Babel
- Service Worker
- Jest
- Heroku
