Skip to content
This repository was archived by the owner on Apr 23, 2021. It is now read-only.

Commit 5356120

Browse files
point the readme to the split sample repo
1 parent 42cf9cb commit 5356120

File tree

1 file changed

+5
-22
lines changed

1 file changed

+5
-22
lines changed

README.md

Lines changed: 5 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -69,32 +69,15 @@ app.post("/truelayer-redirect", async (req, res) => {
6969
});
7070
```
7171

72-
<br>
73-
74-
# [Examples](https://github.com/TrueLayer/truelayer-client-javascript/tree/master/examples/express)
75-
76-
A simple sample application has been created and lives in `./examples`.
77-
In order to run the application, `CLIENT_ID` and `CLIENT_SECRET` need to be set as environment variables. These can be obtained by signing up on https://truelayer.com.
78-
Set the environment variables from the console:
79-
80-
```bash
81-
$ export CLIENT_ID="<client>"
82-
$ export CLIENT_SECRET="<secret>"
83-
```
72+
Take a look at our sample repo for an easy to digest implementation of the library.
8473

85-
### [Express](https://expressjs.com/)
74+
<br>
8675

87-
This simple example stands up a bare-bones express server that takes a user through the authentication flow and hits the data API endpoints, streaming the results to a page.
76+
# [Examples](https://github.com/TrueLayer/truelayer-client-javascript-sample)
8877

89-
```bash
90-
$ cd examples/express
91-
$ npm install
92-
...
93-
94-
$ npm start
95-
```
78+
A simple sample application has been created and lives in a separate repo, **[here](https://github.com/TrueLayer/truelayer-client-javascript/tree/master/examples/express)**.
9679

97-
Once the app is listening, navigate to `http://localhost:5000` and introduce credentials.
80+
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.
9881

9982
<br>
10083

0 commit comments

Comments
 (0)