This is a Node-Express app that uses MeaningCloud Sentiment Analysis API to provide basic sentiment analysis of the content at a user-submitted URL.
- JavaScript, HTML, and Sass to make it show up and look good
- Node and Express for the server and routing
- Webpack and Babel to bundle and transpile for the browser
- Jest for JavaScript testing
- workbox-webpack-plugin to enable service workers for minimal offline capabilities
- MeaningCloud Sentiment Analysis API
- Clone repo
cd natural-language-processor
- Run
npm install
to install the node modules
- Run
npm start
to start the server - Run
npm run build:dev
to build and run the webpack dev server with hot reloading - This should automatically open http://localhost:8080/ in your browser to view the app, updating when code changes are made.
- Run
npm run build:prod
to build the app in production mode - Run
npm start
to start the server - Open http://localhost:3000/ in your browser to view the app
npm test
will run through all test suites once; npm run test:watch
will run the tests once the remain in watch mode for updates.