项目作者: popoway
项目描述 :
Evaluate a News Article with Natural Language Processing
高级语言: JavaScript
项目地址: git://github.com/popoway/fend-evaluate-news-nlp.git
Evaluate a News Article with Natural Language Processing
Introduction
It is a web tool that allows users to run Natural Language Processing (NLP) on articles or blogs found on other websites. This project is part of the Udacity Front End Web Developer Nanodegree Program.
The project aims at practicing the following skills:
- Setting up Webpack
- Sass styles
- Webpack Loaders and Plugins
- Creating layouts and page design
- Service workers
- Using APIs and creating requests to external urls
Installation
- Run
npm install
to install all the dependencies. - Create a file named
.env
and supply with your API key for MeaningCloud. For example:API_KEY=your_foo_bar_api_key
That completes the initial setup. - To start a development build, use
npm run build-dev
- To start a production build, use
npm run build-prod
- Use
npm run start
to start the Express server. - To run unit testing for the client side JavaScript, use
npm test
Prerequisite
- Webserver - Node
- Web application framework for routing - Express
- Build tool - Webpack. Using webpack, we will set up the app to have dev and prod environments, each with their own set of tools and commands.
- External script - Service Worker
- External API - Aylien
Runtime Environment