Skip to content

Nexmo, React, Express, Microsoft Sentiment Analysis, Twitter API

Notifications You must be signed in to change notification settings

laurenelee/tweet-sentiment-analysis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

62 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

clone repo:

  • run npm install in root of project && within the /client folder
  • rename .env-example files to .env in both the root & /client folder
  • add a private.key file to hold your Nexmo key in root of project
  • Fill in the .env files with your personal credentials:

In tweet-sentiment-analysis/.env:

API_KEY=*******      
API_SECRET=*******    
APPLICATION_ID=*******    
NEXMO_NUMBER=*******    

CONSUMER_KEY=*******     
CONSUMER_SECRET=*******     
ACCESS_TOKEN_KEY=*******    
ACCESS_TOKEN_SECRET=*******      

In tweet-sentiment-analysis/private.key:

-----BEGIN PRIVATE KEY-----     
XYZ123****xxx123XYZ***    
-----END PRIVATE KEY-----       

In tweet-sentiment-analysis/client/.env:

REACT_APP_RAPIDAPI_KEY=*******         

npm run dev

Runs both server and client simultaneously by running npm run dev
Open localhost:3000 to see React app's content

About

Nexmo, React, Express, Microsoft Sentiment Analysis, Twitter API

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published