An application that gives career recommendations based on personality insights drawn from Twitter.
-
You need to have Node.js installed. You can download and install Node.js here
-
You need an IBM Cloud account. If you don't have one, signup. Experimental Watson Services are free to use.
-
Create a Watson Personality Insights service. Be sure to copy out the service credentials. You'll need them soon.
-
You need an O*NET Web Services account. If you don't have one, signup. Copy out the HTTP header authorization credential. Do not copy the authorization type.
-
You need to have a Twitter application. If you don't have one visit here to create one and also copy out the application credentials.
-
You need a hosted Mongodb database. If you have none, visit Mlab to create an account and a database. Copy out your database uri.
-
Create a
.env
file in the root directory. The.env
file will look something like the following:
TWITTER_CONSUMER_KEY = <Twitter Consumer Key>
TWITTER_CONSUMER_SECRET = <Twitter Consumer Secret>
TWITTER_ACCESS_TOKEN = <Twitter Access Token>
TWITTER_ACCESS_TOKEN_SECRET = <Twitter Access Token Secret>
PERSONALITY_INSIGHTS_USERNAME = <Personality Insights Service username>
PERSONALITY_INSIGHTS_PASSWORD = <Personality Insights Service password>
MLAB_URI = <Mlab database URI>
ONET_AUTH_CREDENTIAL = <O*NET Auuthorization credential>
- Install the application dependencies you need:
npm install
- Start the application locally:
npm start
- Point your browser to http://localhost:3000.