Skip to content

ehsankhf/transactions-manager

Repository files navigation

Transactions Manager

A sample project for testing the integration with the TrueLayer API.

Local setup

  • Requirements

    • Docker
    • Node.js
  • Steps to run in development mode

    1. docker-compose up
      • Please create following databases in the locally created mysql database server localhost:3306 :
        1. database_development : for the normal run of the server
        2. database_test : for the test run of the server
    2. npm start

Initial configurations for TrueLayer API

  • setup a new user inside TrueLayer API`s website
  • set the api environment as Sandbox
  • receive the client id and secret from the API`s dashboard
  • add a new redirect url as: http://localhost:5000/auth/callback
  • copy the example.env file as .env in the root directory, and set the following variables:
    • TRUE_LAYER_CLIENT_SECRET
    • TRUE_LAYER_CLIENT_ID
  • receive and configure the authentication url in env variable: TRUE_LAYER_AUTH_LINK

Available Scripts

In the project directory, you can run:

  • npm start : Runs the server on port 5000.
  • npm test : Launches the test runner.

License

MIT licensed.

About

A sample project for testing the integration with the TrueLayer API.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •