- 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=*******
Runs both server and client simultaneously by running npm run dev
Open localhost:3000 to see React app's content