- Node
Clone this repository from Github
git clone [email protected]:ReachFive/reachfive-sandbox-nodejs.git
cd reachfive-sandbox-nodejs
Install dependencies
npm install
Copy .env.example to .env and replace the values for REACHFIVE_DOMAIN, REACHFIVE_JWT,REACHFIVE_CLIENT_ID, and REACHFIVE_CLIENT_SECRET.
REACHFIVE_DOMAIN is available in your ReachFive account settings.
Create a public.pem file with your public RSA key available in your ReachFive account settings.
To acquire REACHFIVE_CLIENT_ID, and REACHFIVE_CLIENT_SECRET credentials, you need to create a new Identity API Client in "Clients" section.
To make it works correctly, you also have to add the following values in the client settings:
http://localhost:3000in Allowed Originshttp://localhost:3000/login/callbackin Allowed Callback URLs
npm start
You can now see the app running at http://localhost:3000.
This project is licensed under the MIT license. See the LICENSE file for more info.