Web service for microservice sample application.
You can install dependencies with yarn
.
yarn install
Set environments for development server.
If you don't know how to get Github Client ID, see this page.
export USER_SERVICE=http://localhost:3001
export TWEET_SERVICE=http://localhost:3002
export GITHUB_CLIENT_ID=xxxxxxxxxxx
export GITHUB_CLIENT_SECRET=xxxxxxxxxxx
Run dev server.
yarn dev
Run lint with Eslint.
yarn lint
Run test with ava.
yarn test