Skip to content

PII backend reference implementation for Probity UI

Notifications You must be signed in to change notification settings

trustline-inc/probity-api

Repository files navigation

Probity API

Secure backend for Probity UI integrated with Modern Treasury for money movement and Plaid for identity verification and compliance.

Getting Started

After cloning the repo run yarn in the project to install dependencies.

Next, install Postgres.

Then set up a local dev database:

You should also do this for a probity_test database.

$ psql -d postgres
psql (14.5 (Homebrew))
Type "help" for help.

postgres=# CREATE DATABASE probity;
CREATE DATABASE
postgres=# CREATE ROLE probity;
CREATE ROLE
postgres=# ALTER ROLE probity WITH PASSWORD '**************';
ALTER ROLE
postgres=# ALTER DATABASE probity OWNER TO probity;
ALTER DATABASE
postgres=# ALTER ROLE "probity" WITH LOGIN;
ALTER ROLE

For a fresh database, you'll have to run the database migrations with Liquibase. See the Liquibase commands for further usage.

Set the environment variables in the appropriate .env.<environment> file.

Finally, start the server:

yarn run dev

About

PII backend reference implementation for Probity UI

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published