Building a News Article/ Blog Sentiment Analysis website using Natural Language Processing (NLP) API. The website allows user to type in any url containing an article or a blog, and with the help of Aylien API analyse the sentiment of it through getting insight about the author's emotions and perspective.
The goal of this project is to practice with:
- Setting up Webpack
- Webpack Loaders and Plugins
- Service workers
- Using APIs and creating requests to external urls
$npm install
npm install -g webpack-dev-server
API_ID=**************************
API_KEY=**************************
$npm start
$ npm run build-dev
$ npm run start
Note:: The web page can be accessed with localhost:7000
$ npm run build-prod
$ npm run start
Note:: The web page can be accessed with localhost:8000
The project contains a package.json file two webpack config files webpack.config.dev.js and webpack.config.prod.js for development and production respectfully. When the development mode is run, it starts the webpack dev server at port 8000
The project have service workers set up in webpack.
npm test