Secure backend for Probity UI integrated with Modern Treasury for money movement and Plaid for identity verification and compliance.
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