This website was created for Udacity's Front End Developer nanodegree. Instead of using the base code provided by Udacity, I decided to build everything from scratch.
The website uses AYLIEN, a NLP API which can analyze bulk amounts of news articles & free text.
In your terminal, type:
npm install package.json
In your terminal, type:
npm run start-backend
Note: by default the backend server serves the index.html file from dev/prod. For development, you should use the dev server below.
In your terminal, type:
npm run start-dev-server
This will automatically open a webpage with index.html open. The dev build
will be available under dist/dev
In your terminal, type:
npm run build-prod
The production build will be available under dist/prod
In case you don't want to use the development server, you can create the dev build this way. In your terminal, type:
npm run build-dev
The production build will be available under dist/dev
At the moment there's only one test for one JavaScript function. If you want to run it, type the following in your terminal:
npm run test