Skip to content
This repository was archived by the owner on Aug 15, 2019. It is now read-only.

TrueLayer/truelayer-client-javascript-sample

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This simple node example stands up a bare-bones express server and takes a user through the authentication flow, then hits the data API info endpoint, and streams the results to a page.

Prerequisites


Before you start, you will need:

Install the repo locally


$ git clone https://github.com/TrueLayer/truelayer-client-javascript-sample.git

Steps to run the App 🎮

  1. Install the dependencies
$ npm install
  1. Create the .env file
$ cp .env.sample .env
  1. Go to https://console.truelayer.com and set up your client account

  2. Navigate to your app's settings page on https://console.truelayer.com/settings/Application

  3. Obtain your client_id and client_secret on the page and store them safely locally

  4. Whitelist your app's callback url in the redirect url section

  5. Add the credentials obtained in the 3 steps above to .env file

  6. Start the app

$ npm start
  1. Navigate to http://localhost:5000 and view the app!

About

Sample application showcasing the TrueLayer NodeJS client library in action.

Resources

License

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors