This is a node.js and express backend with the purpose of parsing text with the Google Natural Language Library. It is a single route that accepts a text body that is passed from the chrome extenstion. The express server will then make a request to the natual language library and return the sentiment of the article text. This will determine if language is emotive or potentially biased. This is then returned to the chrome extension for further processing with other sources.
This project came in first place at the Monterey Startup Hackathon
- Node.js installed.
- https://www.npmjs.com/ installed.
- Google Cloud Platform account and project.
- Credential added to
app.js
for the client library. - Hostname must be changed in the chrome extenstion
background.js
npm install
node app.js