Skip to content

codatio/demo-bill-pay

Repository files navigation

demo-bill-pay

This demo shows how you could build a bill pay solution with Codat. It demonstrates how we can manage bill payments of apps like Quickbooks Sandbox.

Click here to see it in action

Billpay Demo Video


Getting started

Local development

In Codat...

  1. Set up the integrations you want to use
    You should have a Codat account connected to the source that you want. For example to connect your Codat account to a Quickbooks Sandbox, follow our docs.
  2. Set up redirects
    On the redirects settings page, add https://{your-domain}/connection-successful, replacing your-domain with your domain. Users are redirected to Hosted Link to authorize access to their data, and this is the URL the user will return to when that's completed.

Dependencies

To ensure that you can run the development server, make sure that the following are installed:

  • npm -v 16.9.0

To install all the dependencies:

npm install

Create a .env file (you can copy the .env.example file and rename it).

CODAT_AUTH_HEADER="Basic MarxMnVNSEdXREVwQTI2Qk1seE5lQzAzcnhGZHNBZzFiYUxKeFRXQQ=="

Replace the CODAT_AUTH_HEADER value with your auth header. You can find this in the Portal.

Run the project

To run the development server:

npm run dev

Open http://localhost:3000 with your browser to see the result.