A free, open source service that aims to determine the sentiment of news and headlines around Coronavirus-19.
- Microsoft Azure Account
- VS Code for Production Deployment and Local Development
- Azure Functions VS Code Extension for Local Development
- Node.js LTS Version
- Clone this repo and install dependencies.
git clone https://github.com/joemccann/covid-19-news-sentiment.git
cd covid-19-new-sentiment
npm i
- Create a
.env
file in the root of the repo and copy/paste the following:
KEY=XXX
ENDPOINT=XXX
AZURE_TENANT_ID=XXX
AZURE_CLIENT_ID=XXX
AZURE_CLIENT_SECRET=XXX
AZURE_STORAGE_CONTAINER=XXX
BLOB_SERVICE_ACCOUNT_NAME=XXX
INCREMENT=XX
Note: a
.env
file is required to run the tests as they will affect Azure resources.
npm i -D
npm test
The general guidelines for contributing are:
- Does it fix a bug?
- Does it break anything?
- Does it stick to the original goal?
- Does it reduce the build size?
- Is it necessary?
MIT