Skip to content

Software development kit for Fintruth projects

License

Notifications You must be signed in to change notification settings

fintruth/fintruth-sdk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Fintruth SDK

CircleCI Codecov Lerna

Requirements

  • Node
  • Docker
  • Yarn

This project utilizes Lerna with Yarn workspaces enabled

Get Started

Install package dependencies

yarn install # or `yarn`

Start Docker dependencies

make dev

Run application

yarn start

The application running at http://localhost:3000 will automatically open in your default browser

Build

build is automatically run for all packages during the deploy process when running certain Makefile commands

yarn build # or build:release

Deploy

Requires:

  • aws-cli
  • Xcode command line tools (OSX)

The Makefile makes a few assumptions. Mainly that you will be using AWS as the cloud provider, and pushing the docker images to ECR (deploy config must be defined in deploy.env).

Publish stage build:

make pkg=<package> stage # image version published as `latest_uat`

Publish production build:

make env=production pkg=<package> release # image version published as `latest` and package.json version

Run build Locally

make up

Manually update a running service (assumes you already re-built the project package):

docker-compose up --build --force-recreate --no-deps <service> # 'client', 'server', etc.

Important

  • Each package name is prefixed a common project name e.g. @fintruth-sdk/server
  • Each package has a src directory where all source files are placed
  • Each package has a "build" script, which is triggered by lerna run build

About

Software development kit for Fintruth projects

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published